Home | History | Annotate | Download | only in test

Lines Matching refs:epoll

22 Tests for epoll wrapper.
31 if not hasattr(select, "epoll"):
35 select.epoll()
38 raise unittest.SkipTest("kernel doesn't support epoll()")
70 ep = select.epoll(16)
80 self.assertRaises(TypeError, select.epoll, 1, 2, 3)
81 self.assertRaises(TypeError, select.epoll, 'foo')
82 self.assertRaises(TypeError, select.epoll, None)
83 self.assertRaises(TypeError, select.epoll, ())
84 self.assertRaises(TypeError, select.epoll, ['foo'])
85 self.assertRaises(TypeError, select.epoll, {})
90 ep = select.epoll(2)
98 ep = select.epoll(2)
105 ep = select.epoll(2)
128 ep = select.epoll(2)
129 ep2 = select.epoll.fromfd(ep.fileno())
145 self.fail("epoll on closed fd didn't raise EBADF")
150 ep = select.epoll(16)
197 self.assertRaises(ValueError, select.epoll, -2)
198 self.assertRaises(ValueError, select.epoll().register, -1,
204 ep = select.epoll(16)