From cc2a821579f62cc0cba6d1b60a7c6a39fc89ff89 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Sun, 26 Aug 2018 01:53:11 +0200 Subject: [PATCH] tests: use coverage_enable_subprocess instead of sitecustomize.py --- sitecustomize.py | 9 --------- tox.ini | 1 + 2 files changed, 1 insertion(+), 9 deletions(-) delete mode 100644 sitecustomize.py diff --git a/sitecustomize.py b/sitecustomize.py deleted file mode 100644 index 9b5135d..0000000 --- a/sitecustomize.py +++ /dev/null @@ -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() diff --git a/tox.ini b/tox.ini index ae43d6e..97aae1f 100644 --- a/tox.ini +++ b/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