From 34fba3b445f16e17ce782b3642937112f3bc5868 Mon Sep 17 00:00:00 2001 From: "Michael W. Hudson" Date: Tue, 3 Aug 2004 15:35:29 +0000 Subject: [PATCH] Add the same guard as test_signal. --- Lib/test/test_threadsignals.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Lib/test/test_threadsignals.py b/Lib/test/test_threadsignals.py index ad983c031b..1c32dfda51 100644 --- a/Lib/test/test_threadsignals.py +++ b/Lib/test/test_threadsignals.py @@ -6,6 +6,9 @@ import signal import os from test import test_support +if sys.platform[:3] in ('win', 'os2') or sys.platform=='riscos': + raise TestSkipped, "Can't test signal on %s" % sys.platform + signal_blackboard = { signal.SIGUSR1 : {'tripped': 0, 'tripped_by': 0 }, signal.SIGUSR2 : {'tripped': 0, 'tripped_by': 0 }, signal.SIGALRM : {'tripped': 0, 'tripped_by': 0 } } -- 2.50.1