From: Victor Stinner Date: Thu, 23 Jan 2014 16:26:06 +0000 (+0100) Subject: Close #20365: Skip test_asyncio.test_events.test_read_pty_output() on Mac OS X X-Git-Tag: v3.4.0b3~47 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8ce6e1100e5bb13c2e714e6cdf5d8fac77f39a94;p=python 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. --- diff --git a/Lib/test/test_asyncio/test_events.py b/Lib/test/test_asyncio/test_events.py index 2e1dfebf34..21036b5f7b 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