summaryrefslogtreecommitdiffstats
path: root/tests/QtCore/bug_462.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/QtCore/bug_462.py')
-rw-r--r--tests/QtCore/bug_462.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/QtCore/bug_462.py b/tests/QtCore/bug_462.py
index feb75c7..44048bb 100644
--- a/tests/QtCore/bug_462.py
+++ b/tests/QtCore/bug_462.py
@@ -28,6 +28,7 @@ class MyBaseObject(QObject):
def customEvent(self, event):
self.events.append(event)
if len(self.events) == 3:
+ self.t.wait()
self.app.quit()
@@ -38,6 +39,7 @@ class CheckForEventsTypes(unittest.TestCase):
o.app.exec_()
for e in o.events:
self.assert_(isinstance(e, MyEvent))
+ o.app = None
if __name__ == '__main__':
unittest.main()