tractor/tests/devx
Tyler Goodlet b06c5bde49 Prevent `test_breakpoint_hook_restored` subproc hangs
If the underlying example script fails (say due to a console output
pattern-mismatch, `AssertionError`) the `pexpect` managed subproc with
a `debug_mode=True` crash-handling-REPL engaged will ofc *not terminate*
due to any SIGINT sent by the test harnesss (since we shield from it as
part of normal sub-actor debugger operation). So instead always send
a 'continue' cmd to the active `PdbREPL`'s stdin so it deactivates and
allows the py-script-process to raise and terminate, unblocking the
`pexpect.spawn`'s internal subproc joiner (which would otherwise hang
without manual intervention, blocking downstream tests..).

Also, use the new `PexpectSpawner` type alias after actually importing
future annots.. XD
2025-06-11 21:42:02 -04:00
..
__init__.py Officially test proto-ed `stackscope` integration 2025-03-27 13:24:25 -04:00
conftest.py Prevent `test_breakpoint_hook_restored` subproc hangs 2025-06-11 21:42:02 -04:00
test_debugger.py Mk `.devx._debug` a sub-pkg `.devx.debug` 2025-06-11 21:41:59 -04:00
test_pause_from_non_trio.py Mask ctlc borked REPL tests 2025-03-27 13:24:25 -04:00
test_tooling.py Prevent `test_breakpoint_hook_restored` subproc hangs 2025-06-11 21:42:02 -04:00