Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5b511a0 + 14d45c0 commit f07717cCopy full SHA for f07717c
1 file changed
Lib/test/test_selectors.py
@@ -323,6 +323,8 @@ def test_selector(self):
323
@unittest.skipIf(sys.platform == 'win32',
324
'select.select() cannot be used with empty fd sets')
325
def test_empty_select(self):
326
+ # Issue #23009: Make sure EpollSelector.select() works when no FD is
327
+ # registered.
328
s = self.SELECTOR()
329
self.addCleanup(s.close)
330
self.assertEqual(s.select(timeout=0), [])
0 commit comments