Author: Matti Picus <[email protected]>
Branch: pypy-pyarray
Changeset: r67052:e89d93815460
Date: 2013-09-22 09:37 +0300
http://bitbucket.org/pypy/pypy/changeset/e89d93815460/
Log: whoops
diff --git a/pypy/module/cpyext/test/test_ndarrayobject.py
b/pypy/module/cpyext/test/test_ndarrayobject.py
--- a/pypy/module/cpyext/test/test_ndarrayobject.py
+++ b/pypy/module/cpyext/test/test_ndarrayobject.py
@@ -242,6 +242,7 @@
PyObject * obj2 = PyArray_ZEROS(2, dims2, 11, 0);
PyArray_FILLWBYTE(obj2, 42);
PyArray_CopyInto(obj2, obj1);
+ Py_DECREF(obj1);
return obj2;
'''
),
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit