Skip to content

Commit

Permalink
explain and link warning test
Browse files Browse the repository at this point in the history
  • Loading branch information
maxfischer2781 committed Feb 5, 2024
1 parent 3de5b33 commit 13adaf9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cobald_tests/decorator/test_logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ def test_name(self):

def test_verification(self):
pool = FullMockPool()
# no warnings by default
# ensure no warnings by default
# see https://docs.pytest.org/en/8.0.x/how-to/capture-warnings.html#additional-use-cases-of-warnings-in-tests # noqa
with warnings.catch_warnings():
warnings.simplefilter("error")
Logger(target=pool, name="test logger")
Expand Down

0 comments on commit 13adaf9

Please sign in to comment.