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.
........
This commit is contained in:
Brian Curtin 2010-09-06 16:17:50 +00:00
parent e6ebcdaa54
commit 8426333a88
2 changed files with 12 additions and 14 deletions

View file

@ -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):