aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/QtCore/bug_1313.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/tests/QtCore/bug_1313.py')
-rw-r--r--sources/pyside6/tests/QtCore/bug_1313.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/sources/pyside6/tests/QtCore/bug_1313.py b/sources/pyside6/tests/QtCore/bug_1313.py
index 01a76f5c9..a80c81cc8 100644
--- a/sources/pyside6/tests/QtCore/bug_1313.py
+++ b/sources/pyside6/tests/QtCore/bug_1313.py
@@ -37,11 +37,11 @@ sys.path.append(os.fspath(Path(__file__).resolve().parents[1]))
from init_paths import init_test_paths
init_test_paths(False)
-from PySide6 import QtCore
+from PySide6.QtCore import QObject, Signal
-class MyQObject(QtCore.QObject):
- sig = QtCore.Signal()
+class MyQObject(QObject):
+ sig = Signal()
demo_coroutine_definition_code = """