]> granicus.if.org Git - python/commitdiff
Add the same guard as test_signal.
authorMichael W. Hudson <mwh@python.net>
Tue, 3 Aug 2004 15:35:29 +0000 (15:35 +0000)
committerMichael W. Hudson <mwh@python.net>
Tue, 3 Aug 2004 15:35:29 +0000 (15:35 +0000)
Lib/test/test_threadsignals.py

index ad983c031b2c8201cd54cef5c8427f665525e4ac..1c32dfda5166b7c50f3798647f191313b45d1f74 100644 (file)
@@ -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 } }