Lines Matching refs:kqueue
16 kq = select.kqueue()
125 kq = select.kqueue()
126 kq2 = select.kqueue.fromfd(kq.fileno())
194 kq = select.kqueue()
211 kq = select.kqueue()
237 kqueue = select.kqueue()
240 self.assertIsInstance(kqueue.fileno(), int)
241 self.assertFalse(kqueue.closed)
244 kqueue.close()
245 self.assertTrue(kqueue.closed)
246 self.assertRaises(ValueError, kqueue.fileno)
249 kqueue.close()
252 self.assertRaises(ValueError, kqueue.control, None, 4)
255 kqueue = select.kqueue()
256 self.addCleanup(kqueue.close)
257 self.assertEqual(os.get_inheritable(kqueue.fileno()), False)