summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_poll.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_poll.py')
-rw-r--r--Lib/test/test_poll.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_poll.py b/Lib/test/test_poll.py
index fb6cd30..5d01251 100644
--- a/Lib/test/test_poll.py
+++ b/Lib/test/test_poll.py
@@ -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):