mirror of https://github.com/python/cpython
Issue #23009: Skip test_selectors.test_empty_select() on Windows
This commit is contained in:
parent
1ca9392c70
commit
14d45c06eb
|
@ -322,7 +322,11 @@ class BaseSelectorTestCase(unittest.TestCase):
|
|||
|
||||
self.assertEqual(bufs, [MSG] * NUM_SOCKETS)
|
||||
|
||||
@unittest.skipIf(sys.platform == 'win32',
|
||||
'select.select() cannot be used with empty fd sets')
|
||||
def test_empty_select(self):
|
||||
# Issue #23009: Make sure EpollSelector.select() works when no FD is
|
||||
# registered.
|
||||
s = self.SELECTOR()
|
||||
self.addCleanup(s.close)
|
||||
self.assertEqual(s.select(timeout=0), [])
|
||||
|
|
Loading…
Reference in New Issue