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

Method test_cancellation_disabled

python/pyarrow/tests/test_csv.py:1631–1638  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1629
1630 @pytest.mark.threading
1631 def test_cancellation_disabled(self):
1632 # ARROW-12622: reader would segfault when the cancelling signal
1633 # handler was not enabled (e.g. if disabled, or if not on the
1634 # main thread)
1635 t = threading.Thread(
1636 target=lambda: self.read_bytes(b"f64\n0.1"))
1637 t.start()
1638 t.join()
1639
1640
1641class TestSerialCSVTableRead(BaseCSVTableRead):

Callers

nothing calls this directly

Calls 3

read_bytesMethod · 0.95
startMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected