diff options
Diffstat (limited to 'Lib/test/test_signal.py')
-rw-r--r-- | Lib/test/test_signal.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Lib/test/test_signal.py b/Lib/test/test_signal.py index 51b120b..2d33635 100644 --- a/Lib/test/test_signal.py +++ b/Lib/test/test_signal.py @@ -4,9 +4,8 @@ import signal import os import sys -if sys.platform[:3] == 'win': - raise ImportError, "Can't test signal on Windows" - +if sys.platform[:3] in ('win', 'os2'): + raise ImportError, "Can't test signal on %s" % sys.platform[:3] if verbose: x = '-x' |