diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/coveragetest.py | 7 | ||||
-rw-r--r-- | tests/test_process.py | 3 |
2 files changed, 3 insertions, 7 deletions
diff --git a/tests/coveragetest.py b/tests/coveragetest.py index 85af3623..1a2983e6 100644 --- a/tests/coveragetest.py +++ b/tests/coveragetest.py @@ -431,13 +431,6 @@ class CoverageTest( pypath += testmods + os.pathsep + zipfile self.set_environ(pythonpath_name, pypath) - # There are environment variables that we set when we are running the - # coverage test suite under coverage. We don't want these environment - # variables to leak into subprocesses we start for a test. Delete them - # before running the subprocess command. - self.del_environ("COVERAGE_COVERAGE") - self.del_environ("COVERAGE_PROCESS_START") - self.last_command_status, self.last_command_output = run_command(cmd) print(self.last_command_output) return self.last_command_status, self.last_command_output diff --git a/tests/test_process.py b/tests/test_process.py index d3f7d56f..4a1e6348 100644 --- a/tests/test_process.py +++ b/tests/test_process.py @@ -605,6 +605,9 @@ class ProcessTest(CoverageTest): def test_warnings_trace_function_changed_with_threads(self): # https://bitbucket.org/ned/coveragepy/issue/164 + if env.METACOV: + self.skipTest("Can't test tracers changing during metacoverage") + self.make_file("bug164.py", """\ import threading import time |