MCPcopy Create free account
hub / github.com/apache/arrow / signal_from_thread

Function signal_from_thread

python/pyarrow/tests/test_flight.py:2445–2447  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2443 pytest.skip("test only works from main Python thread")
2444
2445 def signal_from_thread():
2446 time.sleep(0.5)
2447 signal.raise_signal(signal.SIGINT)
2448
2449 exc_types = (KeyboardInterrupt, pa.ArrowCancelled)
2450

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected