Author: Matti Picus <matti.pi...@gmail.com>
Branch: py3.5
Changeset: r95006:0ebfd8239706
Date: 2018-08-17 02:50 +0300
http://bitbucket.org/pypy/pypy/changeset/0ebfd8239706/

Log:    fix test for python3 api

diff --git a/pypy/module/cpyext/test/test_object.py 
b/pypy/module/cpyext/test/test_object.py
--- a/pypy/module/cpyext/test/test_object.py
+++ b/pypy/module/cpyext/test/test_object.py
@@ -415,7 +415,7 @@
         module = self.import_extension('foo', [
             ("enter", "METH_O",
             """
-                return PyInt_FromLong(Py_ReprEnter(args));
+                return PyLong_FromLong(Py_ReprEnter(args));
             """),
             ("leave", "METH_O",
             """
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to