diff --git a/testing/test_capture.py b/testing/test_capture.py index 841cdb0a3..79e34a40f 100644 --- a/testing/test_capture.py +++ b/testing/test_capture.py @@ -344,7 +344,6 @@ class TestLoggingInteraction(object): def test_logging_initialized_in_test(self, testdir): p = testdir.makepyfile(""" - import sys def test_something(): import logging logging.basicConfig()