mirror of
https://github.com/jazzband/django-configurations.git
synced 2026-03-16 22:20:27 +00:00
tests: use coverage_enable_subprocess instead of sitecustomize.py
This commit is contained in:
parent
5ea0db0aee
commit
cc2a821579
2 changed files with 1 additions and 9 deletions
|
|
@ -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()
|
||||
1
tox.ini
1
tox.ini
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue