Skip to content
This repository was archived by the owner on Dec 12, 2025. It is now read-only.

Commit 7c39078

Browse files
committed
Clarify test python version distinction with comment
1 parent 378cf7a commit 7c39078

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/jpypetest/test_signals.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ def testSigTerm(self):
6565

6666
self.sigterm_event.wait(0.1)
6767
if sys.version_info < (3, 10):
68+
# python versions below 3.10 do not support PyErr_SetInterruptEx
69+
# so SIGTERM will be sent as SIGINT to the interpreter
6870
self.assertTrue(self.sigint_event.is_set())
6971
self.assertFalse(self.sigterm_event.is_set())
7072
else:

0 commit comments

Comments
 (0)