Skip to content

Commit

Permalink
Update test_log.py
Browse files Browse the repository at this point in the history
  • Loading branch information
SAKURA-CAT committed Jun 18, 2024
1 parent 686cc79 commit c62494a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/log/test_log.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def test_set_level(self, capsys):
name = nanoid.generate()
text = nanoid.generate()
t = SwanLabSharedLog(name, level="debug")
t.set_level(le)
t.level = le
getattr(t, le)(text)
out, err = capsys.readouterr()
assert text in out
Expand Down

0 comments on commit c62494a

Please sign in to comment.