summaryrefslogtreecommitdiffstats
path: root/tests/test_mainloop.py
diff options
context:
space:
mode:
authorJohn Ehresman <jpe@wingware.com>2010-04-15 12:55:34 -0400
committerJohn Ehresman <jpe@wingware.com>2010-04-15 12:55:34 -0400
commitdc91f48833e5f3b94f02a0be16d0d47c10d364f5 (patch)
tree2df70dbf32d1e33f51af596d9ff93d327d761cf8 /tests/test_mainloop.py
parentfb6529e5e6c253d5fcc0038eafc1c1d9e23ca9ae (diff)
downloadpygobject-dc91f48833e5f3b94f02a0be16d0d47c10d364f5.tar.gz
pygobject-dc91f48833e5f3b94f02a0be16d0d47c10d364f5.tar.xz
pygobject-dc91f48833e5f3b94f02a0be16d0d47c10d364f5.zip
Changes for tests to run in python 3
Diffstat (limited to 'tests/test_mainloop.py')
-rw-r--r--tests/test_mainloop.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test_mainloop.py b/tests/test_mainloop.py
index 95e5f78..afb550a 100644
--- a/tests/test_mainloop.py
+++ b/tests/test_mainloop.py
@@ -1,6 +1,5 @@
#!/usr/bin/env python
-import exceptions
import os
import sys
import select
@@ -31,7 +30,7 @@ class TestMainLoop(unittest.TestCase):
os.close(pipe_w)
def excepthook(type, value, traceback):
- assert type is exceptions.Exception
+ assert type is Exception
assert value.args[0] == "deadbabe"
sys.excepthook = excepthook