From: Michael W. Hudson Date: Tue, 3 Aug 2004 15:35:29 +0000 (+0000) Subject: Add the same guard as test_signal. X-Git-Tag: v2.4a2~34 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=34fba3b445f16e17ce782b3642937112f3bc5868;p=python Add the same guard as test_signal. --- 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 } }