aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/QtWidgets/bug_1077.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/tests/QtWidgets/bug_1077.py')
-rw-r--r--sources/pyside6/tests/QtWidgets/bug_1077.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sources/pyside6/tests/QtWidgets/bug_1077.py b/sources/pyside6/tests/QtWidgets/bug_1077.py
index 4c35e16bb..8aed4e6f5 100644
--- a/sources/pyside6/tests/QtWidgets/bug_1077.py
+++ b/sources/pyside6/tests/QtWidgets/bug_1077.py
@@ -47,6 +47,7 @@ class Highlighter(QSyntaxHighlighter):
super().__init__(parent)
self.tstamp = time.time()
+
if __name__ == "__main__":
app = QApplication([])
python = QTextEdit()