summaryrefslogtreecommitdiff
path: root/tests/testhelpermodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testhelpermodule.c')
-rw-r--r--tests/testhelpermodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testhelpermodule.c b/tests/testhelpermodule.c
index 4d1b44d0..b242a34e 100644
--- a/tests/testhelpermodule.c
+++ b/tests/testhelpermodule.c
@@ -531,7 +531,7 @@ PYGLIB_MODULE_START(testhelper, "testhelper")
d = PyModule_GetDict(module);
- if ((m = PyImport_ImportModule("gobject")) != NULL) {
+ if ((m = PyImport_ImportModule("gi._gobject")) != NULL) {
PyObject *moddict = PyModule_GetDict(m);
_PyGObject_Type = (PyTypeObject *)PyDict_GetItemString(moddict, "GObject");