diff options
Diffstat (limited to 'sources/pyside6/tests/QtWidgets/bug_844.py')
-rw-r--r-- | sources/pyside6/tests/QtWidgets/bug_844.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sources/pyside6/tests/QtWidgets/bug_844.py b/sources/pyside6/tests/QtWidgets/bug_844.py index 4b98cf155..1c7705939 100644 --- a/sources/pyside6/tests/QtWidgets/bug_844.py +++ b/sources/pyside6/tests/QtWidgets/bug_844.py @@ -34,8 +34,9 @@ sys.path.append(os.fspath(Path(__file__).resolve().parents[1])) from init_paths import init_test_paths init_test_paths() -from PySide6.QtWidgets import * -from PySide6.QtCore import * +from PySide6.QtWidgets import QApplication, QLabel +from PySide6.QtCore import QObject, QTimer + class QtKeyPressListener(QObject): def __init__(self, obj): |