From: Yury Selivanov Date: Sun, 10 Dec 2017 17:40:19 +0000 (-0500) Subject: Skip test_read_pty_output test on macOS for poll and select. (#4774) X-Git-Tag: v3.7.0a4~179 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c4d9df5fd719ad08e68e0950ce22a80f43e4f35d;p=python Skip test_read_pty_output test on macOS for poll and select. (#4774) Starting with 10.13.2 the test hangs forever. --- diff --git a/Lib/test/test_asyncio/test_events.py b/Lib/test/test_asyncio/test_events.py index 2e8f46dd41..01300246fd 100644 --- a/Lib/test/test_asyncio/test_events.py +++ b/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):