diff --git a/tests/test_utils_logign.py b/tests/test_utils_logign.py index e2da3932d..6618166fd 100644 --- a/tests/test_utils_logign.py +++ b/tests/test_utils_logign.py @@ -58,6 +58,9 @@ def test_ignore_log_msg_filter(capfd, level, msg, should_appear): # Capture the output out = capfd.readouterr().out + capfd.readouterr().err + print(">>> Captured output:") + print(repr(out)) # Use repr to see special characters and emptiness + # Check if the message appears if should_appear: assert msg in out, f"Expected '{msg}' to appear in logs"