From 7e8b7091cbfd3d60eb979a3545e66fab2f2f5ec9 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Tue, 15 Oct 2019 23:22:48 -0400 Subject: [PATCH] Check for proper SIGINT return code They finally got https://bugs.python.org/issue1054041 in Python 3.8 --- tests/test_multi_program.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_multi_program.py b/tests/test_multi_program.py index 8e1545f..20f4226 100644 --- a/tests/test_multi_program.py +++ b/tests/test_multi_program.py @@ -20,7 +20,7 @@ if platform.system() == 'Windows': else: _KILL_SIGNAL = signal.SIGKILL _INT_SIGNAL = signal.SIGINT - _INT_RETURN_CODE = 1 + _INT_RETURN_CODE = 1 if sys.version_info < (3, 8) else -signal.SIGINT.value _PROC_SPAWN_WAIT = 0.6 if sys.version_info < (3, 7) else 0.4