diff --git a/testing/test_capture.py b/testing/test_capture.py index 591b6761d..02b952be3 100644 --- a/testing/test_capture.py +++ b/testing/test_capture.py @@ -340,8 +340,6 @@ class TestLoggingInteraction: 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")