aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/tests/QtPrintSupport/returnquadruplesofnumbers_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside2/tests/QtPrintSupport/returnquadruplesofnumbers_test.py')
-rw-r--r--sources/pyside2/tests/QtPrintSupport/returnquadruplesofnumbers_test.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/sources/pyside2/tests/QtPrintSupport/returnquadruplesofnumbers_test.py b/sources/pyside2/tests/QtPrintSupport/returnquadruplesofnumbers_test.py
index 48e637bcd..62e2f91fc 100644
--- a/sources/pyside2/tests/QtPrintSupport/returnquadruplesofnumbers_test.py
+++ b/sources/pyside2/tests/QtPrintSupport/returnquadruplesofnumbers_test.py
@@ -28,7 +28,12 @@
from __future__ import print_function
+import os
+import sys
import unittest
+
+sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "util"))
+
from PySide2.QtGui import QTextCursor
from PySide2.QtPrintSupport import QPrinter, QPrinterInfo
from PySide2.QtWidgets import QLayout, QWidget, QGraphicsLayout, QGraphicsLayoutItem