mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
remove test_support.TestSkipped and just use unittest.SkipTest
This commit is contained in:
parent
21f6aac633
commit
888a39b54c
44 changed files with 99 additions and 108 deletions
|
|
@ -5,10 +5,10 @@ import thread
|
|||
import signal
|
||||
import os
|
||||
import sys
|
||||
from test.test_support import run_unittest, TestSkipped
|
||||
from test.test_support import run_unittest, SkipTest
|
||||
|
||||
if sys.platform[:3] in ('win', 'os2') or sys.platform=='riscos':
|
||||
raise TestSkipped, "Can't test signal on %s" % sys.platform
|
||||
raise SkipTest, "Can't test signal on %s" % sys.platform
|
||||
|
||||
process_pid = os.getpid()
|
||||
signalled_all=thread.allocate_lock()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue