mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
Add the same guard as test_signal.
This commit is contained in:
parent
6d3265dab6
commit
34fba3b445
1 changed files with 3 additions and 0 deletions
|
|
@ -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 } }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue