Kaydet (Commit) f07717c1 authored tarafından Victor Stinner's avatar Victor Stinner

Merge 3.4

...@@ -323,6 +323,8 @@ class BaseSelectorTestCase(unittest.TestCase): ...@@ -323,6 +323,8 @@ class BaseSelectorTestCase(unittest.TestCase):
@unittest.skipIf(sys.platform == 'win32', @unittest.skipIf(sys.platform == 'win32',
'select.select() cannot be used with empty fd sets') 'select.select() cannot be used with empty fd sets')
def test_empty_select(self): def test_empty_select(self):
# Issue #23009: Make sure EpollSelector.select() works when no FD is
# registered.
s = self.SELECTOR() s = self.SELECTOR()
self.addCleanup(s.close) self.addCleanup(s.close)
self.assertEqual(s.select(timeout=0), []) self.assertEqual(s.select(timeout=0), [])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment