ports/devel/bpython/patches/patch-bpython_test_test_args_py

29 lines
1 KiB
Text

Skip three tests that just hang forever
Index: bpython/test/test_args.py
--- bpython/test/test_args.py.orig
+++ bpython/test/test_args.py
@@ -20,6 +20,7 @@ except ImportError:
@attr(speed='slow')
class TestExecArgs(unittest.TestCase):
+ @unittest.skip("hangs under OpenBSD")
def test_exec_dunder_file(self):
with tempfile.NamedTemporaryFile(mode="w") as f:
f.write(dedent("""\
@@ -37,6 +38,7 @@ class TestExecArgs(unittest.TestCase):
self.assertEqual(stderr.strip(), f.name)
+ @unittest.skip("hangs under OpenBSD")
def test_exec_nonascii_file(self):
with tempfile.NamedTemporaryFile(mode="w") as f:
f.write(dedent('''\
@@ -52,6 +54,7 @@ class TestExecArgs(unittest.TestCase):
except subprocess.CalledProcessError:
self.fail('Error running module with nonascii characters')
+ @unittest.skip("hangs under OpenBSD")
def test_exec_nonascii_file_linenums(self):
with tempfile.NamedTemporaryFile(mode="w") as f:
f.write(dedent("""\