mirror of
https://github.com/python/cpython.git
synced 2025-11-25 21:11:09 +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 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…
Add table
Add a link
Reference in a new issue