summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_threadsignals.py
diff options
context:
space:
mode:
authorMichael W. Hudson <mwh@python.net>2004-08-03 15:35:29 (GMT)
committerMichael W. Hudson <mwh@python.net>2004-08-03 15:35:29 (GMT)
commit34fba3b445f16e17ce782b3642937112f3bc5868 (patch)
tree117cc41559ef22efca17c01feeeeefa3cf67cba0 /Lib/test/test_threadsignals.py
parent6d3265dab60c3ed12569a1ad1643d95ba8028cad (diff)
downloadcpython-34fba3b445f16e17ce782b3642937112f3bc5868.zip
cpython-34fba3b445f16e17ce782b3642937112f3bc5868.tar.gz
cpython-34fba3b445f16e17ce782b3642937112f3bc5868.tar.bz2
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 ad983c0..1c32dfd 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 } }