mirror of
https://github.com/python/cpython.git
synced 2024-12-12 11:23:56 +08: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
@ -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…
Reference in New Issue
Block a user