[pypy-commit] pypy py3.5: Skip crashing test
rlamy
pypy.commits at gmail.com
Wed May 31 13:49:17 EDT 2017
Author: Ronan Lamy <ronan.lamy at gmail.com>
Branch: py3.5
Changeset: r91472:2420f0a96b7c
Date: 2017-05-31 18:49 +0100
http://bitbucket.org/pypy/pypy/changeset/2420f0a96b7c/
Log: Skip crashing test
diff --git a/lib-python/3/test/test_capi.py b/lib-python/3/test/test_capi.py
--- a/lib-python/3/test/test_capi.py
+++ b/lib-python/3/test/test_capi.py
@@ -26,6 +26,11 @@
# Were we compiled --with-pydebug or with #define Py_DEBUG?
Py_DEBUG = hasattr(sys, 'gettotalrefcount')
+skips = []
+if support.check_impl_detail(pypy=True):
+ skips += [
+ 'test_widechar',
+ ]
def testfunction(self):
"""some doc"""
@@ -558,7 +563,7 @@
class Test_testcapi(unittest.TestCase):
def test__testcapi(self):
for name in dir(_testcapi):
- if name.startswith('test_'):
+ if name.startswith('test_') and name not in skips:
with self.subTest("internal", name=name):
test = getattr(_testcapi, name)
test()
More information about the pypy-commit
mailing list