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 | f67950b19465d9ce45d16edcd2360073b2c95b5d (patch) | |
| tree | 18ddbb5a8a7de34b4866a50bec3bf4861b0060cf | |
| parent | 421062f1ff81dafa8a391458c753f3608035c342 (diff) | |
| download | python-coveragepy-f67950b19465d9ce45d16edcd2360073b2c95b5d.tar.gz | |
In 3.7, testing libs are issuing warnings. We don't want them to count against us
| -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 2cabe0b..9d4aa56 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") |
