aboutsummaryrefslogtreecommitdiffstats
path: root/tests/QtCore/bug_656.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/QtCore/bug_656.py')
-rw-r--r--tests/QtCore/bug_656.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/QtCore/bug_656.py b/tests/QtCore/bug_656.py
new file mode 100644
index 000000000..ba5617447
--- /dev/null
+++ b/tests/QtCore/bug_656.py
@@ -0,0 +1,9 @@
+from PySide.QtCore import *
+
+class CoreApp(QCoreApplication):
+ def __init__(self,*args):
+ super(CoreApp,self).__init__(*args)
+ # It shouldn't crash after the __init__ call
+
+import sys
+app = CoreApp(sys.argv)