diff options
Diffstat (limited to 'sources/pyside2/tests/QtCore/qthread_prod_cons_test.py')
-rw-r--r-- | sources/pyside2/tests/QtCore/qthread_prod_cons_test.py | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/sources/pyside2/tests/QtCore/qthread_prod_cons_test.py b/sources/pyside2/tests/QtCore/qthread_prod_cons_test.py index ee3ed1a4a..9ff62c156 100644 --- a/sources/pyside2/tests/QtCore/qthread_prod_cons_test.py +++ b/sources/pyside2/tests/QtCore/qthread_prod_cons_test.py @@ -30,9 +30,15 @@ '''Producer-Consumer test/example with QThread''' -import unittest -from random import random import logging +import os +from random import random +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) logging.basicConfig(level=logging.WARNING) |