mirror of https://github.com/python/cpython.git
To raise TestSkipped, you must import TestSkipped.
This commit is contained in:
parent
3d3cfdb499
commit
81676dc520
|
@ -5,7 +5,7 @@
|
|||
import signal
|
||||
import os
|
||||
import sys
|
||||
from test import test_support
|
||||
from test import test_support, TestSkipped
|
||||
|
||||
if sys.platform[:3] in ('win', 'os2') or sys.platform=='riscos':
|
||||
raise TestSkipped, "Can't test signal on %s" % sys.platform
|
||||
|
|
Loading…
Reference in New Issue