aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-12-15 19:23:38 -0800
committerZac Medico <zmedico@gentoo.org>2011-12-15 19:23:38 -0800
commit11cf001c20d94eb477e8a9b253e657716702b845 (patch)
tree9949d48da57e558945afd4cb8d3062caf24d4f27 /pym/portage/tests/ebuild
parentdata.py: tweak getgrnam call for PyPy (diff)
downloadportage-11cf001c20d94eb477e8a9b253e657716702b845.tar.gz
portage-11cf001c20d94eb477e8a9b253e657716702b845.tar.bz2
portage-11cf001c20d94eb477e8a9b253e657716702b845.zip
PtyEofFdopenUnBufferedTestCase: PyPy TODO
https://bugs.pypy.org/issue956
Diffstat (limited to 'pym/portage/tests/ebuild')
-rw-r--r--pym/portage/tests/ebuild/test_pty_eof.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/pym/portage/tests/ebuild/test_pty_eof.py b/pym/portage/tests/ebuild/test_pty_eof.py
index c8de3e2a7..0b0bbdb35 100644
--- a/pym/portage/tests/ebuild/test_pty_eof.py
+++ b/pym/portage/tests/ebuild/test_pty_eof.py
@@ -1,6 +1,8 @@
# Copyright 2009-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
+import platform
+
from portage.tests import TestCase
from portage.util._pty import _can_test_pty_eof, _test_pty_eof
@@ -37,6 +39,10 @@ class PtyEofFdopenUnBufferedTestCase(TestCase):
self.fail(skip_reason)
return
+ if platform.python_implementation() == 'PyPy':
+ # https://bugs.pypy.org/issue956
+ self.todo = True
+
# The result is only valid if openpty does not raise EnvironmentError.
if _can_test_pty_eof():
try: