Author: Armin Rigo <[email protected]>
Branch:
Changeset: r96028:63c291824396
Date: 2019-02-16 15:17 +0100
http://bitbucket.org/pypy/pypy/changeset/63c291824396/
Log: Fix test
diff --git a/pypy/module/cpyext/test/test_typeobject.py
b/pypy/module/cpyext/test/test_typeobject.py
--- a/pypy/module/cpyext/test/test_typeobject.py
+++ b/pypy/module/cpyext/test/test_typeobject.py
@@ -528,7 +528,8 @@
py_type = rffi.cast(PyTypeObjectPtr, ref)
assert py_type.c_tp_alloc
- assert from_ref(space, py_type.c_tp_mro).wrappeditems is w_class.mro_w
+ w_tup = from_ref(space, py_type.c_tp_mro)
+ assert space.fixedview(w_tup) == w_class.mro_w
decref(space, ref)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit