https://bugs.pypy.org/issue956
# 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
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: