summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJohn Ehresman <jpe@wingware.com>2010-04-12 23:51:24 -0400
committerJohn Ehresman <jpe@wingware.com>2010-04-15 12:13:35 -0400
commit97a35ad4bf0623636459735e119d1b0fe0ede5ff (patch)
treeab8db69290c067933da2064b501577073825e94b /tests
parentf6f2ed44c84aff3c38fc3eb5961b28621a14fc51 (diff)
downloadpygobject-97a35ad4bf0623636459735e119d1b0fe0ede5ff.tar.gz
pygobject-97a35ad4bf0623636459735e119d1b0fe0ede5ff.tar.xz
pygobject-97a35ad4bf0623636459735e119d1b0fe0ede5ff.zip
Remove remaining PyInt & PyString calls
Diffstat (limited to 'tests')
-rw-r--r--tests/testhelpermodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testhelpermodule.c b/tests/testhelpermodule.c
index d78cf55..dc8c609 100644
--- a/tests/testhelpermodule.c
+++ b/tests/testhelpermodule.c
@@ -82,7 +82,7 @@ _wrap_test_g_object_new (PyObject * self)
PyObject *rv;
obj = g_object_new(g_type_from_name("PyGObject"), NULL);
- rv = PyInt_FromLong(obj->ref_count); /* should be == 2 at this point */
+ rv = _PyLong_FromLong(obj->ref_count); /* should be == 2 at this point */
g_object_unref(obj);
return rv;
}