summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-01-23 16:26:06 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2014-01-23 16:26:06 (GMT)
commit8ce6e1100e5bb13c2e714e6cdf5d8fac77f39a94 (patch)
tree0ea325b723e1ec9901aa046f6c70e8a4991485d6
parent418e80ba00e88db4ab7098da4fa5b141bbdf6fcd (diff)
downloadcpython-8ce6e1100e5bb13c2e714e6cdf5d8fac77f39a94.zip
cpython-8ce6e1100e5bb13c2e714e6cdf5d8fac77f39a94.tar.gz
cpython-8ce6e1100e5bb13c2e714e6cdf5d8fac77f39a94.tar.bz2
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.
-rw-r--r--Lib/test/test_asyncio/test_events.py3
1 files changed, 3 insertions, 0 deletions
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