Author: Ronan Lamy <ronan.l...@gmail.com>
Branch: py3.5
Changeset: r90710:7cd246019641
Date: 2017-03-15 16:56 +0000
http://bitbucket.org/pypy/pypy/changeset/7cd246019641/

Log:    fix test

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
@@ -345,7 +345,7 @@
         module = self.import_extension('foo', [
             ("foo", "METH_O",
             """
-                _PyTraceMalloc_Track(0, 0, PyInt_AsLong(args) - sizeof(long));
+                _PyTraceMalloc_Track(0, 0, PyLong_AsLong(args) - sizeof(long));
                 Py_INCREF(Py_None);
                 return Py_None;
             """)])
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to