Skip to content

Commit

Permalink
Refine test
Browse files Browse the repository at this point in the history
  • Loading branch information
zklaus committed Apr 1, 2024
1 parent 2f7e87d commit c3395f1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/common/test_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ def test_attach_stderr_handler():
assert len(logr.handlers) == 1
assert logr.handlers[0].name == "stderr"
assert logr.handlers[0].level is WARN
assert logr.level is WARN
assert logr.level is NOTSET
assert logr.getEffectiveLevel() is WARN
assert c.stdout == ""
assert "test message" in c.stderr
assert debug_message not in c.stderr
Expand Down

0 comments on commit c3395f1

Please sign in to comment.