From 8ce6e1100e5bb13c2e714e6cdf5d8fac77f39a94 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Thu, 23 Jan 2014 17:26:06 +0100 Subject: 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. --- Lib/test/test_asyncio/test_events.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Lib/test/test_asyncio/test_events.py b/Lib/test/test_asyncio/test_events.py index 2e1dfeb..21036b5 100644 --- a/Lib/test/test_asyncio/test_events.py +++ b/Lib/test/test_asyncio/test_events.py @@ -957,6 +957,9 @@ class EventLoopTestsMixin: @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 -- cgit v0.12