summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-02-03 00:32:13 +0100
committerVictor Stinner <victor.stinner@gmail.com>2014-02-03 00:32:13 +0100
commit9dd39f524df06a27b7877bfe96c35537798cb0af (patch)
tree9397737d6b286ec82559ba56da71fd9fbd9a47b0
parent1328e9d0a0bacdd49d7026d3d883354bb01356dc (diff)
downloadcpython-git-9dd39f524df06a27b7877bfe96c35537798cb0af.tar.gz
Issue #20472: test_asyncio: skip PTY tests on Mac OS X older than 10.6
-rw-r--r--Lib/test/test_asyncio/test_events.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/Lib/test/test_asyncio/test_events.py b/Lib/test/test_asyncio/test_events.py
index 24808cb11c..5158430fce 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