fix incorrect auto-translation of TestSkipped -> unittest.SkipTest

This commit is contained in:
Benjamin Peterson 2009-03-26 21:10:30 +00:00
parent ad57d97596
commit bec087f29d
31 changed files with 75 additions and 75 deletions

View file

@ -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):