mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +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
|
@ -2,10 +2,10 @@ import pipes
|
|||
import os
|
||||
import string
|
||||
import unittest
|
||||
from test.test_support import TESTFN, run_unittest, unlink, TestSkipped
|
||||
from test.test_support import TESTFN, run_unittest, unlink, SkipTest
|
||||
|
||||
if os.name != 'posix':
|
||||
raise TestSkipped('pipes module only works on posix')
|
||||
raise SkipTest('pipes module only works on posix')
|
||||
|
||||
TESTFN2 = TESTFN + "2"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue