SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
29
devel/bpython/patches/patch-bpython_test_test_args_py
Normal file
29
devel/bpython/patches/patch-bpython_test_test_args_py
Normal file
|
@ -0,0 +1,29 @@
|
|||
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("""\
|
Loading…
Add table
Add a link
Reference in a new issue