diff options
author | John Ehresman <jpe@wingware.com> | 2010-04-15 12:55:34 -0400 |
---|---|---|
committer | John Ehresman <jpe@wingware.com> | 2010-04-15 12:55:34 -0400 |
commit | dc91f48833e5f3b94f02a0be16d0d47c10d364f5 (patch) | |
tree | 2df70dbf32d1e33f51af596d9ff93d327d761cf8 /tests/test_mainloop.py | |
parent | fb6529e5e6c253d5fcc0038eafc1c1d9e23ca9ae (diff) | |
download | pygobject-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.py | 3 |
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 |