From: Victor Stinner Date: Sun, 2 Feb 2014 23:32:13 +0000 (+0100) Subject: Issue #20472: test_asyncio: skip PTY tests on Mac OS X older than 10.6 X-Git-Tag: v3.4.0rc1~114 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9dd39f524df06a27b7877bfe96c35537798cb0af;p=thirdparty%2FPython%2Fcpython.git Issue #20472: test_asyncio: skip PTY tests on Mac OS X older than 10.6 --- diff --git a/Lib/test/test_asyncio/test_events.py b/Lib/test/test_asyncio/test_events.py index 24808cb11c77..5158430fced6 100644 --- a/Lib/test/test_asyncio/test_events.py +++ b/Lib/test/test_asyncio/test_events.py @@ -953,6 +953,9 @@ class EventLoopTestsMixin: @unittest.skipUnless(sys.platform != 'win32', "Don't support pipes for Windows") + # select, poll and kqueue don't support character devices (PTY) on Mac OS X + # older than 10.6 (Snow Leopard) + @support.requires_mac_ver(10, 6) def test_read_pty_output(self): proto = None @@ -1075,6 +1078,9 @@ class EventLoopTestsMixin: @unittest.skipUnless(sys.platform != 'win32', "Don't support pipes for Windows") + # select, poll and kqueue don't support character devices (PTY) on Mac OS X + # older than 10.6 (Snow Leopard) + @support.requires_mac_ver(10, 6) def test_write_pty(self): proto = None transport = None