aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/test_asyncio/test_events.py
diff options
context:
space:
mode:
authorYury Selivanov <yury@magic.io>2017-12-10 12:40:19 -0500
committerGitHub <noreply@github.com>2017-12-10 12:40:19 -0500
commitc4d9df5fd719ad08e68e0950ce22a80f43e4f35d (patch)
treed0e9501688d8f084b7913d8bc493e1374e94e691 /Lib/test/test_asyncio/test_events.py
parent77106b2c21e59d0466742cc3afa50f9e8345e186 (diff)
downloadcpython-c4d9df5fd719ad08e68e0950ce22a80f43e4f35d.tar.gz
cpython-c4d9df5fd719ad08e68e0950ce22a80f43e4f35d.zip
Skip test_read_pty_output test on macOS for poll and select. (#4774)
Starting with 10.13.2 the test hangs forever.
Diffstat (limited to 'Lib/test/test_asyncio/test_events.py')
-rw-r--r--Lib/test/test_asyncio/test_events.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/Lib/test/test_asyncio/test_events.py b/Lib/test/test_asyncio/test_events.py
index 2e8f46dd41e..01300246fda 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):