diff options
Diffstat (limited to 'sources/pyside2/tests/QtCore/qregularexpression_test.py')
-rw-r--r-- | sources/pyside2/tests/QtCore/qregularexpression_test.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sources/pyside2/tests/QtCore/qregularexpression_test.py b/sources/pyside2/tests/QtCore/qregularexpression_test.py index cef3ec668..fb2e9c24c 100644 --- a/sources/pyside2/tests/QtCore/qregularexpression_test.py +++ b/sources/pyside2/tests/QtCore/qregularexpression_test.py @@ -30,7 +30,14 @@ '''Unit tests for QRegularExpression''' +import os +import sys import unittest + +sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) +from init_paths import init_test_paths +init_test_paths(False) + from PySide2.QtCore import QRegularExpression, QRegularExpressionMatch, QRegularExpressionMatchIterator class QRegularExpressionTest(unittest.TestCase): |