mirror of
https://github.com/python/cpython.git
synced 2025-10-18 04:38:07 +00:00
To raise TestSkipped, you must import TestSkipped.
This commit is contained in:
parent
3d3cfdb499
commit
81676dc520
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ import thread
|
||||||
import signal
|
import signal
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
from test import test_support
|
from test import test_support, TestSkipped
|
||||||
|
|
||||||
if sys.platform[:3] in ('win', 'os2') or sys.platform=='riscos':
|
if sys.platform[:3] in ('win', 'os2') or sys.platform=='riscos':
|
||||||
raise TestSkipped, "Can't test signal on %s" % sys.platform
|
raise TestSkipped, "Can't test signal on %s" % sys.platform
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue