aboutsummaryrefslogtreecommitdiffstats
path: root/tests/QtGui/bug_546.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/QtGui/bug_546.py')
-rw-r--r--tests/QtGui/bug_546.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/QtGui/bug_546.py b/tests/QtGui/bug_546.py
new file mode 100644
index 000000000..845b64ed4
--- /dev/null
+++ b/tests/QtGui/bug_546.py
@@ -0,0 +1,14 @@
+import unittest
+from PySide.QtGui import *
+
+class TestBug546(unittest.TestCase):
+
+ """Test to check a crash at exit"""
+ def testIt(self):
+ app = QApplication([])
+ textEdit = QPlainTextEdit()
+ completer = QCompleter(("foo", "bar"), textEdit)
+ completer.setWidget(textEdit)
+
+if __name__=='__main__':
+ unittest.main()