Skip to content
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.

Commit

Permalink
(#1252) remove teardown check for logging option as per PR review com…
Browse files Browse the repository at this point in the history
…ment
  • Loading branch information
rtuck99 committed Apr 3, 2024
1 parent ed32ef6 commit 96ef622
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def pytest_runtest_teardown(item):
if "dodal.beamlines.beamline_utils" in sys.modules:
sys.modules["dodal.beamlines.beamline_utils"].clear_devices()
markers = [m.name for m in item.own_markers]
if item.config.getoption("logging") and "skip_log_setup" in markers:
if "skip_log_setup" in markers:
_reset_loggers([*ALL_LOGGERS, dodal_logger])


Expand Down

0 comments on commit 96ef622

Please sign in to comment.