From: Victor Stinner Date: Wed, 17 Dec 2014 00:07:56 +0000 (+0100) Subject: Issue #23009: Skip test_selectors.test_empty_select() on Windows X-Git-Tag: v3.5.0a1~300 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fc6fdb112d46d9d7798c57f7347154234ca2b9a4;p=python Issue #23009: Skip test_selectors.test_empty_select() on Windows --- diff --git a/Lib/test/test_selectors.py b/Lib/test/test_selectors.py index 77bddbedd7..493a5a6d50 100644 --- a/Lib/test/test_selectors.py +++ b/Lib/test/test_selectors.py @@ -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)