Lines Matching refs:select
3 import select
24 self.assertRaises(TypeError, select.select, 1, 2, 3)
25 self.assertRaises(TypeError, select.select, [self.Nope()], [], [])
26 self.assertRaises(TypeError, select.select, [self.Almost()], [], [])
27 self.assertRaises(TypeError, select.select, [], [], [], "not a number")
28 self.assertRaises(ValueError, select.select, [], [], [], -1)
38 select.select([fd], [], [], 0)
46 r, w, x = select.select([], [], [], 1)
65 rfd, wfd, xfd = select.select([pipe], [], [], timeout)
79 self.fail('Unexpected return values from select():',
82 # Issue 16230: Crash on select resized list
84 support.is_emscripten, "Emscripten cannot select a fd multiple times."
93 self.assertEqual(select.select([], a, []), ([], a[:5], []))
96 support.check_disallow_instantiation(self, type(select.poll()))
98 if hasattr(select, 'devpoll'):
99 support.check_disallow_instantiation(self, type(select.devpoll()))