Home | History | Annotate | Download | only in test

Lines Matching refs:poll

1 # Test case for the os.poll() function

7 select.poll
9 raise unittest.SkipTest, "select.poll not defined -- skipping test_poll"
22 # Basic functional test of poll object
23 # Create a bunch of pipe and test that poll works with them.
25 p = select.poll()
48 ready = p.poll()
55 ready = p.poll()
77 p = select.poll()
79 r = p.poll()
84 p = select.poll()
86 r = p.poll()
89 r = p.poll()
94 p = select.poll()
99 p = select.poll()
103 pollster = select.poll()
114 # Another test case for poll(). This is copied from the test case for
115 # select(), modified to use poll() instead.
120 pollster = select.poll()
123 fdlist = pollster.poll(tout)
139 self.fail('Unexpected return value from select.poll: %s' % fdlist)
144 pollster = select.poll()
147 self.assertRaises(OverflowError, pollster.poll, 1L << 64)