From b94d79214498b07abc22e676897c8314cc386c7c Mon Sep 17 00:00:00 2001 From: Johan Dahlin Date: Sat, 26 Jul 2008 08:37:59 +0000 Subject: Move over glib constants to gobject 2008-07-26 Johan Dahlin * glib/glibmodule.c (pyglib_register_constants), (init_glib): * gobject/__init__.py: * gobject/gobjectmodule.c (init_gobject): Move over glib constants to gobject * tests/test_gio.py: * tests/test_mainloop.py: * tests/test_source.py: * tests/test_subprocess.py: * tests/test_thread.py: Update tests to refer to glib when appropriate svn path=/trunk/; revision=858 --- tests/test_mainloop.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/test_mainloop.py') diff --git a/tests/test_mainloop.py b/tests/test_mainloop.py index 8294642..95e5f78 100644 --- a/tests/test_mainloop.py +++ b/tests/test_mainloop.py @@ -6,7 +6,7 @@ import sys import select import unittest -from common import gobject +from common import glib class TestMainLoop(unittest.TestCase): def testExceptionHandling(self): @@ -23,8 +23,8 @@ class TestMainLoop(unittest.TestCase): loop.quit() raise Exception("deadbabe") - loop = gobject.MainLoop() - gobject.child_watch_add(pid, child_died, loop) + loop = glib.MainLoop() + glib.child_watch_add(pid, child_died, loop) os.close(pipe_r) os.write(pipe_w, "Y") -- cgit