aboutsummaryrefslogtreecommitdiffstats
path: root/tests/QtGui/bug_546.py
blob: 845b64ed4a796526720ab15233626859bcb18f14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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()