blob: 1473ede30b3fe5d7eadab270bb1750d5c5366acd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
import unittest
from PySide2.QtWidgets 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()
|