Home | History | Annotate | Download | only in test

Lines Matching full:fileno

73         self.assertTrue(ep.fileno() > 0, ep.fileno())
77 self.assertRaises(ValueError, ep.fileno)
92 ep.register(server.fileno(), select.EPOLLIN | select.EPOLLOUT)
93 ep.register(client.fileno(), select.EPOLLIN | select.EPOLLOUT)
97 # adding by object w/ fileno works, too.
107 # TypeError: argument must be an int, or have a fileno() method.
129 ep2 = select.epoll.fromfd(ep.fileno())
131 ep2.register(server.fileno(), select.EPOLLIN | select.EPOLLOUT)
132 ep2.register(client.fileno(), select.EPOLLIN | select.EPOLLOUT)
151 ep.register(server.fileno(),
153 ep.register(client.fileno(),
162 expected = [(client.fileno(), select.EPOLLOUT),
163 (server.fileno(), select.EPOLLOUT)]
183 expected = [(client.fileno(), select.EPOLLIN | select.EPOLLOUT),
184 (server.fileno(), select.EPOLLIN | select.EPOLLOUT)]
189 ep.unregister(client.fileno())
190 ep.modify(server.fileno(), select.EPOLLOUT)
196 expected = [(server.fileno(), select.EPOLLOUT)]
206 fd = server.fileno()