diff options
Diffstat (limited to 'tests/test_mainloop.py')
-rw-r--r-- | tests/test_mainloop.py | 6 |
1 files changed, 3 insertions, 3 deletions
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") |