summaryrefslogtreecommitdiff
path: root/Lib/test/test_select.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_select.py')
-rw-r--r--Lib/test/test_select.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_select.py b/Lib/test/test_select.py
index 1ef5624354..957a633f32 100644
--- a/Lib/test/test_select.py
+++ b/Lib/test/test_select.py
@@ -91,6 +91,10 @@ class SelectTestCase(unittest.TestCase):
tp = type(select.poll())
self.assertRaises(TypeError, tp)
+ if hasattr(select, 'devpoll'):
+ tp = type(select.devpoll())
+ self.assertRaises(TypeError, tp)
+
def tearDownModule():
support.reap_children()