From eebfea45636941577575a2acc53a2a5825c99f7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Cumplido?= Date: Mon, 16 Sep 2024 11:04:58 +0200 Subject: [PATCH] Use signal.SIGINT --- python/pyarrow/tests/test_csv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/pyarrow/tests/test_csv.py b/python/pyarrow/tests/test_csv.py index c45a590bf287c..6a36b41daf302 100644 --- a/python/pyarrow/tests/test_csv.py +++ b/python/pyarrow/tests/test_csv.py @@ -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):