Kaydet (Commit) 8ce6e110 authored tarafından Victor Stinner's avatar Victor Stinner

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.
üst 418e80ba
...@@ -957,6 +957,9 @@ class EventLoopTestsMixin: ...@@ -957,6 +957,9 @@ class EventLoopTestsMixin:
@unittest.skipUnless(sys.platform != 'win32', @unittest.skipUnless(sys.platform != 'win32',
"Don't support pipes for Windows") "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): def test_read_pty_output(self):
proto = None proto = None
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment