Skip to content

Commit

Permalink
Use signal.SIGINT
Browse files Browse the repository at this point in the history
  • Loading branch information
raulcd committed Sep 16, 2024
1 parent 66bd33e commit eebfea4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/pyarrow/tests/test_csv.py
Original file line number Diff line number Diff line change
Expand Up @@ -1504,7 +1504,7 @@ def signal_from_thread():
assert last_duration <= 2.0
e = exc_info.__context__
assert isinstance(e, pa.ArrowCancelled)
assert e.signum == signum
assert e.signum == signal.SIGINT

@pytest.mark.threading
def test_cancellation_disabled(self):
Expand Down

0 comments on commit eebfea4

Please sign in to comment.