diff options
author | Brian Curtin <brian.curtin@gmail.com> | 2010-09-06 16:17:50 +0000 |
---|---|---|
committer | Brian Curtin <brian.curtin@gmail.com> | 2010-09-06 16:17:50 +0000 |
commit | 8426333a88f0959a55b351813f5987238ffd0e17 (patch) | |
tree | 044998886e538a3d75ca0efc86071c61d942c6ea /Lib/test/test_signal.py | |
parent | e6ebcdaa54d2527b1ae94fd95f5ee96dfdc9abe4 (diff) | |
download | cpython-git-8426333a88f0959a55b351813f5987238ffd0e17.tar.gz |
Merged revisions 84556 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r84556 | brian.curtin | 2010-09-06 11:04:10 -0500 (Mon, 06 Sep 2010) | 7 lines
Clean up the fix to #9324 with some of the suggestions raised on python-dev
in response to the original checkin.
Move the validation from the original loop into a switch statement,
and adjust a platform check in the tests.
........
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 2238842b60..906b4a09a0 100644 --- a/Lib/test/test_signal.py +++ b/Lib/test/test_signal.py @@ -9,9 +9,8 @@ import subprocess import traceback import sys, os, time, errno -if sys.platform == 'os2' or sys.platform == 'riscos': - raise unittest.SkipTest("Can't test signal on %s" % \ - sys.platform) +if sys.platform in ('os2', 'riscos'): + raise unittest.SkipTest("Can't test signal on %s" % sys.platform) class HandlerBCalled(Exception): |