summaryrefslogtreecommitdiff
path: root/tests/test_process.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_process.py')
-rw-r--r--tests/test_process.py5
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")