Lines Matching defs:select
8 import select
11 import select
37 # Remember real select() to avoid interferences with mocking
38 _real_select = select.select
235 """Mocks the select.select() call to raise EINTR for first call"""
236 old_select = select.select
246 raise select.error(errno.EINTR, os.strerror(errno.EINTR))
248 # Return real select value for consecutive calls
251 select.select = MockSelect()
253 yield select.select
255 select.select = old_select
262 # Make sure select was called again: