diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2018-03-06 07:15:17 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2018-03-06 07:15:17 -0500 |
commit | 232db5d57c53384162e5704ff405671acd9fe27b (patch) | |
tree | b78416b0f5f99ec93415b99cbc7c072d5df346ce /tests/test_process.py | |
parent | c9f4f661ccb7decb55055d80a1e9a1cbb825b27f (diff) | |
download | python-coveragepy-git-232db5d57c53384162e5704ff405671acd9fe27b.tar.gz |
In 3.7, testing libs are issuing warnings. We don't want them to count against us
Diffstat (limited to 'tests/test_process.py')
-rw-r--r-- | tests/test_process.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test_process.py b/tests/test_process.py index 2cabe0b9..9d4aa56e 100644 --- a/tests/test_process.py +++ b/tests/test_process.py @@ -690,6 +690,11 @@ class ProcessTest(CoverageTest): import coverage print("No warnings!") """) + + # Some of our testing infrastructure can issue warnings. + # Turn it all off for the sub-process. + self.del_environ("COVERAGE_TESTING") + out = self.run_command("python allok.py") self.assertEqual(out, "No warnings!\n") |