Skip to content
Commit 075a11ad authored by Simon Feltman's avatar Simon Feltman
Browse files

testhelper: Fix import requirement for GObject

Replace the importing of gi._gobject._gobject with gi.repository.GObject
in tests/testhelpermodule.c

The testhelper module was only importing the static bindings
(gi._gobject._gobject) and not the overrides (gi.repository.GObject).
This was causing some tests to fail when test_thread was the first
test to run in the suite due to it registering new types based on
PyGObject_Type.

https://bugzilla.gnome.org/show_bug.cgi?id=703647
parent 2a9c8ddf
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment