[pypy-commit] pypy py3.5: update test for PyPy

rlamy pypy.commits at gmail.com
Tue Nov 14 11:41:17 EST 2017


Author: Ronan Lamy <ronan.lamy at gmail.com>
Branch: py3.5
Changeset: r93015:b05acdc71ad8
Date: 2017-11-14 16:40 +0000
http://bitbucket.org/pypy/pypy/changeset/b05acdc71ad8/

Log:	update test for PyPy

diff --git a/lib-python/3/test/test_inspect.py b/lib-python/3/test/test_inspect.py
--- a/lib-python/3/test/test_inspect.py
+++ b/lib-python/3/test/test_inspect.py
@@ -816,7 +816,9 @@
 
         attrs = attrs_wo_objs(A)
 
-        self.assertIn(('__new__', 'method', object), attrs, 'missing __new__')
+        # changed in PyPy
+        self.assertIn(('__new__', 'static method', object), attrs, 'missing __new__')
+
         self.assertIn(('__init__', 'method', object), attrs, 'missing __init__')
 
         self.assertIn(('s', 'static method', A), attrs, 'missing static method')


More information about the pypy-commit mailing list