Lines Matching defs:select
3 import select
19 self.assertRaises(TypeError, select.select, 1, 2, 3)
20 self.assertRaises(TypeError, select.select, [self.Nope()], [], [])
21 self.assertRaises(TypeError, select.select, [self.Almost()], [], [])
22 self.assertRaises(TypeError, select.select, [], [], [], "not a number")
26 r, w, x = select.select([], [], [], 1)
37 rfd, wfd, xfd = select.select([p], [], [], tout)
49 self.fail('Unexpected return values from select():', rfd, wfd, xfd)
52 # Issue 16230: Crash on select resized list
60 self.assertEqual(select.select([], a, []), ([], a[:5], []))