mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
fix incorrect auto-translation of TestSkipped -> unittest.SkipTest
This commit is contained in:
parent
ad57d97596
commit
bec087f29d
31 changed files with 75 additions and 75 deletions
|
@ -1,12 +1,12 @@
|
|||
# Test case for the os.poll() function
|
||||
|
||||
import os, select, random, unittest
|
||||
from test.test_support import SkipTest, TESTFN, run_unittest
|
||||
from test.test_support import TESTFN, run_unittest
|
||||
|
||||
try:
|
||||
select.poll
|
||||
except AttributeError:
|
||||
raise SkipTest, "select.poll not defined -- skipping test_poll"
|
||||
raise unittest.SkipTest, "select.poll not defined -- skipping test_poll"
|
||||
|
||||
|
||||
def find_ready_matching(ready, flag):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue