[Python-checkins] cpython: Close #20365: Skip test_asyncio.test_events.test_read_pty_output() on Mac OS X

victor.stinner python-checkins at python.org
Thu Jan 23 17:29:22 CET 2014


http://hg.python.org/cpython/rev/424564cffad0
changeset: 88660:424564cffad0
user: Victor Stinner <victor.stinner at gmail.com>
date: Thu Jan 23 17:26:06 2014 +0100
summary:
 Close #20365: Skip test_asyncio.test_events.test_read_pty_output() on Mac OS X
older than 10.9 (Maverick). kqueue doesn't support character devices (PTY) on
Mac OS X older than 10.9.
files:
 Lib/test/test_asyncio/test_events.py | 3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/Lib/test/test_asyncio/test_events.py b/Lib/test/test_asyncio/test_events.py
--- a/Lib/test/test_asyncio/test_events.py
+++ b/Lib/test/test_asyncio/test_events.py
@@ -957,6 +957,9 @@
 
 @unittest.skipUnless(sys.platform != 'win32',
 "Don't support pipes for Windows")
+ # kqueue doesn't support character devices (PTY) on Mac OS X older
+ # than 10.9 (Maverick)
+ @support.requires_mac_ver(10, 9)
 def test_read_pty_output(self):
 proto = None
 
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /