remove test_support.TestSkipped and just use unittest.SkipTest

This commit is contained in:
Benjamin Peterson 2009-03-26 20:48:25 +00:00
parent 21f6aac633
commit 888a39b54c
44 changed files with 99 additions and 108 deletions

View file

@ -1,12 +1,12 @@
# Test case for the os.poll() function
import os, select, random, unittest
from test.test_support import TestSkipped, TESTFN, run_unittest
from test.test_support import SkipTest, TESTFN, run_unittest
try:
select.poll
except AttributeError:
raise TestSkipped, "select.poll not defined -- skipping test_poll"
raise SkipTest, "select.poll not defined -- skipping test_poll"
def find_ready_matching(ready, flag):