summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_signal.py
diff options
context:
space:
mode:
authorBrian Curtin <brian.curtin@gmail.com>2010-09-06 16:10:04 (GMT)
committerBrian Curtin <brian.curtin@gmail.com>2010-09-06 16:10:04 (GMT)
commit912443c861ca29d50d37ed817072b0f0f16ac4c3 (patch)
tree188d990039487af99ad6f784b58eed0885691fa9 /Lib/test/test_signal.py
parent7e00ef097499e9f900ac61eaf96760c1c6b81e8a (diff)
downloadcpython-912443c861ca29d50d37ed817072b0f0f16ac4c3.zip
cpython-912443c861ca29d50d37ed817072b0f0f16ac4c3.tar.gz
cpython-912443c861ca29d50d37ed817072b0f0f16ac4c3.tar.bz2
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.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/Lib/test/test_signal.py b/Lib/test/test_signal.py
index a00e2d8..7aa03ef 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):