diff options
Diffstat (limited to '_pytest/capture.py')
-rw-r--r-- | _pytest/capture.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/_pytest/capture.py b/_pytest/capture.py index 12291a5e3..be3194532 100644 --- a/_pytest/capture.py +++ b/_pytest/capture.py @@ -29,7 +29,7 @@ def pytest_load_initial_conftests(early_config, parser, args, __multicall__): except ValueError: pass early_config.pluginmanager.add_shutdown(teardown) - # make sure logging does not raise exceptions if it is imported + # make sure logging does not raise exceptions at the end def silence_logging_at_shutdown(): if "logging" in sys.modules: sys.modules["logging"].raiseExceptions = False |