Author: Ronan Lamy <[email protected]>
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()
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to