A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-checkins/2015-January/134080.html below:

[Python-checkins] cpython (3.4): Issue #23009: Skip test_selectors.test_empty_select() on Windows

[Python-checkins] cpython (3.4): Issue #23009: Skip test_selectors.test_empty_select() on Windows [Python-checkins] cpython (3.4): Issue #23009: Skip test_selectors.test_empty_select() on Windowsvictor.stinner python-checkins at python.org
Thu Jan 22 09:09:36 CET 2015
https://hg.python.org/cpython/rev/d3a27a27e008
changeset:   94236:d3a27a27e008
branch:      3.4
parent:      94234:d3804307cce4
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Thu Jan 22 09:07:36 2015 +0100
summary:
  Issue #23009: Skip test_selectors.test_empty_select() on Windows

files:
  Lib/test/test_selectors.py |  4 ++++
  1 files changed, 4 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
@@ -322,7 +322,11 @@
 
         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), [])

-- 
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4