[Python-checkins] cpython: Issue #23009: Skip test_selectors.test_empty_select() on Windows
victor.stinner
python-checkins at python.org
Wed Dec 17 01:17:25 CET 2014
https://hg.python.org/cpython/rev/1e985daa7be6
changeset: 93913:1e985daa7be6
user: Victor Stinner <victor.stinner at gmail.com>
date: Wed Dec 17 01:07:56 2014 +0100
summary:
Issue #23009: Skip test_selectors.test_empty_select() on Windows
files:
Lib/test/test_selectors.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/Lib/test/test_selectors.py b/Lib/test/test_selectors.py
--- a/Lib/test/test_selectors.py
+++ b/Lib/test/test_selectors.py
@@ -4,6 +4,7 @@
import selectors
import signal
import socket
+import sys
from test import support
from time import sleep
import unittest
@@ -316,6 +317,8 @@
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)
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list