[Python-checkins] cpython (3.4): Issue #20667: KqueueEventLoopTests.test_read_pty_output() hangs also on OpenBSD
larry.hastings
python-checkins at python.org
Mon Mar 17 07:31:52 CET 2014
http://hg.python.org/cpython/rev/add2c31ecfb1
changeset: 89719:add2c31ecfb1
branch: 3.4
user: Victor Stinner <victor.stinner at gmail.com>
date: Tue Feb 18 09:13:47 2014 +0100
summary:
Issue #20667: KqueueEventLoopTests.test_read_pty_output() hangs also on OpenBSD 5.5.
files:
Lib/test/support/__init__.py | 10 ----------
Lib/test/test_asyncio/test_events.py | 5 +++--
2 files changed, 3 insertions(+), 12 deletions(-)
diff --git a/Lib/test/support/__init__.py b/Lib/test/support/__init__.py
--- a/Lib/test/support/__init__.py
+++ b/Lib/test/support/__init__.py
@@ -78,7 +78,6 @@
"create_empty_file", "can_symlink", "fs_is_case_insensitive",
# unittest
"is_resource_enabled", "requires", "requires_freebsd_version",
- "requires_openbsd_version",
"requires_linux_version", "requires_mac_ver", "check_syntax_error",
"TransientResource", "time_out", "socket_peer_reset", "ioerror_peer_reset",
"transient_internet", "BasicTestRunner", "run_unittest", "run_doctest",
@@ -468,15 +467,6 @@
"""
return _requires_unix_version('FreeBSD', min_version)
-def requires_openbsd_version(*min_version):
- """Decorator raising SkipTest if the OS is OpenBSD and the OpenBSD version
- is less than `min_version`.
-
- For example, @requires_freebsd_version(5, 4) raises SkipTest if the FreeBSD
- version is less than 5.4.
- """
- return _requires_unix_version('OpenBSD', min_version)
-
def requires_linux_version(*min_version):
"""Decorator raising SkipTest if the OS is Linux and the Linux version is
less than `min_version`.
diff --git a/Lib/test/test_asyncio/test_events.py b/Lib/test/test_asyncio/test_events.py
--- a/Lib/test/test_asyncio/test_events.py
+++ b/Lib/test/test_asyncio/test_events.py
@@ -1623,8 +1623,9 @@
# than 10.9 (Maverick)
@support.requires_mac_ver(10, 9)
# Issue #20667: KqueueEventLoopTests.test_read_pty_output()
- # hangs on OpenBSD 5.4
- @support.requires_openbsd_version(5, 5)
+ # hangs on OpenBSD 5.5
+ @unittest.skipIf(sys.platform.startswith('openbsd'),
+ 'test hangs on OpenBSD')
def test_read_pty_output(self):
super().test_read_pty_output()
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list