Skip to content

Commit 233c526

Browse files
committed
libtmux(test[logging]): remove caplog.text string matching per CLAUDE.md
why: CLAUDE.md logging standards require asserting on caplog.records attributes, not string matching on caplog.text. The rec.exc_info is None assertion already covers the guarantee. what: - Remove redundant `assert "Traceback" not in caplog.text` from test_options_warning_no_exc_info
1 parent 08d4f79 commit 233c526

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

tests/test_logging.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,4 +315,3 @@ def test_options_warning_logging_schema(
315315
rec = t.cast(t.Any, records[0])
316316
assert isinstance(rec.tmux_option_key, str)
317317
assert rec.exc_info is None
318-
assert "Traceback" not in caplog.text

0 commit comments

Comments
 (0)