aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Rivera <stefano@rivera.za.net>2020-10-02 17:40:25 -0700
committerStefano Rivera <stefano@rivera.za.net>2020-10-02 17:40:25 -0700
commit025a78cd6b0df504506b2622a49e372d96b83093 (patch)
tree2129cea62f7f10b51fa4b481fe5ed55ed8cb5599 /lib-python
parentbytearray(obj) should call obj.__index__() instead of obj.__int__(). (diff)
downloadpypy-025a78cd6b0df504506b2622a49e372d96b83093.tar.gz
pypy-025a78cd6b0df504506b2622a49e372d96b83093.tar.bz2
pypy-025a78cd6b0df504506b2622a49e372d96b83093.zip
Update _testcapimodule to 2.7.18
Skip test_long_as_unsigned_long_long_mask as it currently segfaults
Diffstat (limited to 'lib-python')
-rw-r--r--lib-python/2.7/test/test_capi.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib-python/2.7/test/test_capi.py b/lib-python/2.7/test/test_capi.py
index ea2b61f6e1..138dc33cbf 100644
--- a/lib-python/2.7/test/test_capi.py
+++ b/lib-python/2.7/test/test_capi.py
@@ -30,6 +30,7 @@ if support.check_impl_detail(pypy=True):
'test_buildvalue_N',
'test_capsule',
'test_lazy_hash_inheritance',
+ 'test_long_as_unsigned_long_long_mask',
'test_widechar',
'TestThreadState',
'TestPendingCalls',
@@ -156,7 +157,9 @@ class TestThreadState(unittest.TestCase):
class Test_testcapi(unittest.TestCase):
locals().update((name, getattr(_testcapi, name))
for name in dir(_testcapi)
- if name.startswith('test_') and not name.endswith('_code'))
+ if name.startswith('test_')
+ and not name.endswith('_code')
+ and name not in skips)
def test_main():