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