diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/common.py | 2 | ||||
-rw-r--r-- | tests/testhelpermodule.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/common.py b/tests/common.py index 25136b2..d0ff439 100644 --- a/tests/common.py +++ b/tests/common.py @@ -15,8 +15,8 @@ def importModules(buildDir, srcDir): sys.path.insert(0, os.path.join(buildDir, 'tests')) sys.argv.append('--g-fatal-warnings') - gobject = importModule('gobject', buildDir, 'gobject') testhelper = importModule('testhelper', '.') + gobject = importModule('gobject', buildDir, 'gobject') ltihooks.uninstall() del ltihooks diff --git a/tests/testhelpermodule.c b/tests/testhelpermodule.c index 95542a3..d35aecc 100644 --- a/tests/testhelpermodule.c +++ b/tests/testhelpermodule.c @@ -484,8 +484,8 @@ inittesthelper () PyObject *m, *d; PyObject *module; - init_pygobject(); g_thread_init(NULL); + init_pygobject(); m = Py_InitModule ("testhelper", testhelper_functions); d = PyModule_GetDict(m); |