tractor/tests/devx
Gud Boi a3d65a6b3d Add a `pformat_caller_frame()` render guard test
`pformat_boxed_tb()` has never accepted an `indent` kwarg but
`pformat_caller_frame(box_tb=True)` has been passing one since
`888af602`. Nothing in the suite covered the branch, so the
`TypeError` only ever surfaced from `_mk_send_mte()` — i.e.
EVERY send-side `MsgTypeError` blew up while formatting itself
and masked the real msg-spec violation behind a bogus
`TypeError`.

Red on purpose per the test-first convention; the 1-line fix
lands next.

Also pin `pformat_boxed_tb()`s signature so a future typo'd
kwarg fails loudly at the call site instead of only when some
rare error path runs.

(this patch was generated in some part by `claude-code` using `claude-opus-5` (`anthropic`))
2026-08-18 20:12:59 -04:00
..
__init__.py Officially test proto-ed `stackscope` integration 2025-03-27 13:24:25 -04:00
conftest.py Strip ANSI + accept `_create(...)` in devx tests 2026-06-24 18:19:16 -04:00
test_debugger.py Accept raced `TransportClosed` diagnostics 2026-08-14 12:49:40 -04:00
test_pause_from_non_trio.py Update `sync_bp` + tighten `test_pause_from_sync` 2026-06-17 17:39:44 -04:00
test_pformat.py Add a `pformat_caller_frame()` render guard test 2026-08-18 20:12:59 -04:00
test_proctitle.py Hoist proc-title prefix to `_def_prefix` const 2026-06-24 16:20:50 -04:00
test_tooling.py Raw-string pexpect patterns to kill `SyntaxWarning`s 2026-06-25 17:32:54 -04:00