aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/QtCore/emoji_string_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/tests/QtCore/emoji_string_test.py')
-rw-r--r--sources/pyside6/tests/QtCore/emoji_string_test.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/sources/pyside6/tests/QtCore/emoji_string_test.py b/sources/pyside6/tests/QtCore/emoji_string_test.py
index 553864088..f575a7b77 100644
--- a/sources/pyside6/tests/QtCore/emoji_string_test.py
+++ b/sources/pyside6/tests/QtCore/emoji_string_test.py
@@ -59,12 +59,13 @@ sys.path.append(os.fspath(Path(__file__).resolve().parents[1] / "util"))
from init_paths import init_test_paths
init_test_paths()
-from PySide6 import QtCore
+from PySide6.QtCore import QObject, Signal
+
emoji_str = u'\U0001f632' + u' ' # "😲 "
-class TestStuff(QtCore.QObject):
- testsig = QtCore.Signal(str)
+class TestStuff(QObject):
+ testsig = Signal(str)
def a_nop(self, sendMeAnEmoji):
print(sendMeAnEmoji)