Import-or-skip `.devx.` tests requiring `greenback`

Which is for sure true on py3.14+ rn since `greenlet` didn't want to
build for us (yet).
subint_forkserver_backend
Gud Boi 2026-04-24 17:39:07 -04:00
parent 4c133ab541
commit d6e70e9de4
2 changed files with 9 additions and 1 deletions

View File

@ -63,6 +63,9 @@ def test_pause_from_sync(
`examples/debugging/sync_bp.py` `examples/debugging/sync_bp.py`
''' '''
# XXX required for `breakpoint()` overload and
# thus`tractor.devx.pause_from_sync()`.
pytest.importorskip('greenback')
child = spawn('sync_bp') child = spawn('sync_bp')
# first `sync_pause()` after nurseries open # first `sync_pause()` after nurseries open
@ -260,6 +263,9 @@ def test_sync_pause_from_aio_task(
`examples/debugging/asycio_bp.py` `examples/debugging/asycio_bp.py`
''' '''
# XXX required for `breakpoint()` overload and
# thus`tractor.devx.pause_from_sync()`.
pytest.importorskip('greenback')
child = spawn('asyncio_bp') child = spawn('asyncio_bp')
# RACE on whether trio/asyncio task bps first # RACE on whether trio/asyncio task bps first

View File

@ -156,8 +156,10 @@ def test_breakpoint_hook_restored(
calls used. calls used.
''' '''
# XXX required for `breakpoint()` overload and
# thus`tractor.devx.pause_from_sync()`.
pytest.importorskip('greenback')
child = spawn('restore_builtin_breakpoint') child = spawn('restore_builtin_breakpoint')
child.expect(PROMPT) child.expect(PROMPT)
try: try:
assert_before( assert_before(