Author: mattip <[email protected]>
Branch: cpyext-ext
Changeset: r83679:f696f49a3534
Date: 2016-04-14 01:07 +0300
http://bitbucket.org/pypy/pypy/changeset/f696f49a3534/
Log: remove debug cruft
diff --git a/pypy/module/cpyext/test/foo3.c b/pypy/module/cpyext/test/foo3.c
--- a/pypy/module/cpyext/test/foo3.c
+++ b/pypy/module/cpyext/test/foo3.c
@@ -4,9 +4,9 @@
PyObject* foo3type_tp_new(PyTypeObject* metatype, PyObject* args, PyObject*
kwds)
{
PyObject* newType;
- printf("in foo3type_tp_new, preprocessing...\n");
+ /*printf("in foo3type_tp_new, preprocessing...\n"); */
newType = PyType_Type.tp_new(metatype, args, kwds);
- printf("in foo3type_tp_new, postprocessing...\n");
+ /*printf("in foo3type_tp_new, postprocessing...\n"); */
return newType;
}
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
@@ -882,7 +882,7 @@
def test_tp_new_in_subclass_of_type(self):
module = self.import_module(name='foo3')
- print('calling module.footype()...')
+ #print('calling module.footype()...')
module.footype("X", (object,), {})
def test_app_subclass_of_c_type(self):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit