Issue #23009: Skip test_selectors.test_empty_select() on Windows

This commit is contained in:
Victor Stinner 2014-12-17 01:07:56 +01:00
parent 707b5ccde5
commit fc6fdb112d
1 changed files with 3 additions and 0 deletions

View File

@ -4,6 +4,7 @@ import random
import selectors
import signal
import socket
import sys
from test import support
from time import sleep
import unittest
@ -316,6 +317,8 @@ 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):
s = self.SELECTOR()
self.addCleanup(s.close)