aboutsummaryrefslogtreecommitdiffstats
path: root/tests/QtGui/bug_750.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/QtGui/bug_750.py')
-rw-r--r--tests/QtGui/bug_750.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/QtGui/bug_750.py b/tests/QtGui/bug_750.py
index 9b66df9ed..902a6555d 100644
--- a/tests/QtGui/bug_750.py
+++ b/tests/QtGui/bug_750.py
@@ -2,6 +2,7 @@ import unittest
from helper import UsesQApplication
+from PySide.QtCore import QTimer
from PySide.QtGui import QPainter, QFont, QFontInfo, QWidget, qApp
class MyWidget(QWidget):
@@ -16,7 +17,7 @@ class TestQPainter(UsesQApplication):
w = MyWidget()
w._app = self.app
w._info = None
- w.show()
+ QTimer.singleShot(300, w.show)
self.app.exec_()
self.assert_(w._info)