diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-01-22 08:09:24 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-01-22 08:09:24 (GMT) |
commit | f07717c10540e5596dd3beb37b429ca98066ff08 (patch) | |
tree | c1835f63cdcb42ab4f2cbe8c8606d105628c4308 /Lib/test | |
parent | 5b511a0b1e49c9f040ad3186843180253b73c0b6 (diff) | |
parent | 14d45c06eb0df15c548a99cc0f38c3060aa64579 (diff) | |
download | cpython-f07717c10540e5596dd3beb37b429ca98066ff08.zip cpython-f07717c10540e5596dd3beb37b429ca98066ff08.tar.gz cpython-f07717c10540e5596dd3beb37b429ca98066ff08.tar.bz2 |
Merge 3.4
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_selectors.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_selectors.py b/Lib/test/test_selectors.py index 15f71c1..9521481 100644 --- a/Lib/test/test_selectors.py +++ b/Lib/test/test_selectors.py @@ -323,6 +323,8 @@ class BaseSelectorTestCase(unittest.TestCase): @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), []) |