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.
1 parent 1ca9392 commit 14d45c0Copy full SHA for 14d45c0
1 file changed
Lib/test/test_selectors.py
@@ -322,7 +322,11 @@ def test_selector(self):
322
323
self.assertEqual(bufs, [MSG] * NUM_SOCKETS)
324
325
+ @unittest.skipIf(sys.platform == 'win32',
326
+ 'select.select() cannot be used with empty fd sets')
327
def test_empty_select(self):
328
+ # Issue #23009: Make sure EpollSelector.select() works when no FD is
329
+ # registered.
330
s = self.SELECTOR()
331
self.addCleanup(s.close)
332
self.assertEqual(s.select(timeout=0), [])
0 commit comments