tests: use coverage_enable_subprocess instead of sitecustomize.py

This commit is contained in:
Daniel Hahler 2018-08-26 01:53:11 +02:00
parent 5ea0db0aee
commit cc2a821579
2 changed files with 1 additions and 9 deletions

View file

@ -1,9 +0,0 @@
"""Setup coverage tracking for subprocesses.
Any ImportError is silently ignored.
Requires COVERAGE_PROCESS_START in the environments, which gets set in
tox.ini.
"""
import coverage
coverage.process_startup()

View file

@ -26,6 +26,7 @@ deps =
dj21: django>=2.1a1,<2.2
djmaster: https://github.com/django/django/archive/master.tar.gz#egg=django
py27,pypy: mock
coverage_enable_subprocess
commands =
python --version