From: Stefano Rivera Date: Sat, 24 Apr 2021 11:53:51 -0400 Subject: tests: Skip test_broken_linux_fallback on ppc64el, where it fails. Bug-Upstream: https://github.com/mitogen-hq/mitogen/issues/831 --- tests/parent_test.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/parent_test.py b/tests/parent_test.py index dfacffb..c4bec14 100644 --- a/tests/parent_test.py +++ b/tests/parent_test.py @@ -1,6 +1,7 @@ import errno import fcntl import os +import platform import signal import time import unittest @@ -175,6 +176,8 @@ class OpenPtyTest(testlib.TestCase): @unittest.skipIf(condition=(os.uname()[0] != 'Linux'), reason='Fallback only supported on Linux') + @unittest.skipIf(condition=(platform.machine() == 'ppc64le'), + reason='Workaround broken on ppc64el') @mock.patch('os.openpty') def test_broken_linux_fallback(self, openpty): openpty.side_effect = OSError(errno.EPERM)