Browse Source

Skip test_read_pty_output test on macOS for poll and select. (#4774)

Starting with 10.13.2 the test hangs forever.
pull/4784/head
Yury Selivanov 9 years ago
committed by GitHub
parent
commit
c4d9df5fd7
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      Lib/test/test_asyncio/test_events.py

4
Lib/test/test_asyncio/test_events.py

@ -1486,9 +1486,7 @@ 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)
@unittest.skipIf(sys.platform == 'darwin', 'test hangs on MacOS')
# Issue #20495: The test hangs on FreeBSD 7.2 but pass on FreeBSD 9
@support.requires_freebsd_version(8)
def test_read_pty_output(self):

Loading…
Cancel
Save