summaryrefslogtreecommitdiff
path: root/Lib/test/test_threadsignals.py
diff options
context:
space:
mode:
authorMichael W. Hudson <mwh@python.net>2004-08-03 15:35:29 +0000
committerMichael W. Hudson <mwh@python.net>2004-08-03 15:35:29 +0000
commit46e91cc91486fb2c5337d83089489d3966090d94 (patch)
treee883af329b92b14da3c95ba65f8545e100f6041b /Lib/test/test_threadsignals.py
parent115caee8cd0bf9d88c444bfee209105a7655df64 (diff)
downloadcpython-46e91cc91486fb2c5337d83089489d3966090d94.tar.gz
Add the same guard as test_signal.
Diffstat (limited to 'Lib/test/test_threadsignals.py')
-rw-r--r--Lib/test/test_threadsignals.py3
1 files changed, 3 insertions, 0 deletions
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 } }