diff --git a/testing/test_capture.py b/testing/test_capture.py index eb10f3c07..841cdb0a3 100644 --- a/testing/test_capture.py +++ b/testing/test_capture.py @@ -346,8 +346,6 @@ class TestLoggingInteraction(object): p = testdir.makepyfile(""" import sys def test_something(): - # pytest does not import logging - assert 'logging' not in sys.modules import logging logging.basicConfig() logging.warn("hello432")