Add the same guard as test_signal.

This commit is contained in:
Michael W. Hudson 2004-08-03 15:35:29 +00:00
parent 6d3265dab6
commit 34fba3b445
1 changed files with 3 additions and 0 deletions

View 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 } }