Skip to content

Commit

Permalink
Clarify test python version distinction with comment
Browse files Browse the repository at this point in the history
  • Loading branch information
dfangl committed Jan 31, 2025
1 parent 378cf7a commit 7c39078
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/jpypetest/test_signals.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ def testSigTerm(self):

self.sigterm_event.wait(0.1)
if sys.version_info < (3, 10):
# python versions below 3.10 do not support PyErr_SetInterruptEx
# so SIGTERM will be sent as SIGINT to the interpreter
self.assertTrue(self.sigint_event.is_set())
self.assertFalse(self.sigterm_event.is_set())
else:
Expand Down

0 comments on commit 7c39078

Please sign in to comment.