aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/tests/QtCore/emoji_string_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside2/tests/QtCore/emoji_string_test.py')
-rw-r--r--sources/pyside2/tests/QtCore/emoji_string_test.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/sources/pyside2/tests/QtCore/emoji_string_test.py b/sources/pyside2/tests/QtCore/emoji_string_test.py
index 2e0522878..0bf088dee 100644
--- a/sources/pyside2/tests/QtCore/emoji_string_test.py
+++ b/sources/pyside2/tests/QtCore/emoji_string_test.py
@@ -50,7 +50,14 @@ source itself, utf8 encoding in line 1 and a short plausibility test to make
it safely fail.
"""
+import os
import sys
+
+sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "util"))
+sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
+from init_paths import init_test_paths
+init_test_paths()
+
from PySide2 import QtCore
emoji_str = u'\U0001f632' + u' ' # "😲 "