diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-12-17 00:07:56 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-12-17 00:07:56 (GMT) |
commit | fc6fdb112d46d9d7798c57f7347154234ca2b9a4 (patch) | |
tree | cd6018b509c8683423bcdb9f00d2f4923c4e5ef1 /Lib/test/test_selectors.py | |
parent | 707b5ccde56e89162660d7aaae584eeaf2736120 (diff) | |
download | cpython-fc6fdb112d46d9d7798c57f7347154234ca2b9a4.zip cpython-fc6fdb112d46d9d7798c57f7347154234ca2b9a4.tar.gz cpython-fc6fdb112d46d9d7798c57f7347154234ca2b9a4.tar.bz2 |
Issue #23009: Skip test_selectors.test_empty_select() on Windows
Diffstat (limited to 'Lib/test/test_selectors.py')
-rw-r--r-- | 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 index 77bddbe..493a5a6 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) |