]> granicus.if.org Git - python/commitdiff
Close #20365: Skip test_asyncio.test_events.test_read_pty_output() on Mac OS X
authorVictor Stinner <victor.stinner@gmail.com>
Thu, 23 Jan 2014 16:26:06 +0000 (17:26 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Thu, 23 Jan 2014 16:26:06 +0000 (17:26 +0100)
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

index 2e1dfebf34a58020eca4ceb0cb67b47de0d2fb4c..21036b5f7bc69c769e32e7498b33d38c309a3bb6 100644 (file)
@@ -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