mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Issue #20472: test_asyncio: skip PTY tests on Mac OS X older than 10.6
This commit is contained in:
parent
1328e9d0a0
commit
9dd39f524d
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue