aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/QtGui/bug_740.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/tests/QtGui/bug_740.py')
-rw-r--r--sources/pyside6/tests/QtGui/bug_740.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/pyside6/tests/QtGui/bug_740.py b/sources/pyside6/tests/QtGui/bug_740.py
index c88c48069..ece314cc8 100644
--- a/sources/pyside6/tests/QtGui/bug_740.py
+++ b/sources/pyside6/tests/QtGui/bug_740.py
@@ -10,12 +10,12 @@ sys.path.append(os.fspath(Path(__file__).resolve().parents[1]))
from init_paths import init_test_paths
init_test_paths(False)
-from helper.usesqguiapplication import UsesQGuiApplication
+from helper.usesqapplication import UsesQApplication
from PySide6.QtCore import QSize
from PySide6.QtGui import QBitmap, QImage
-class TestQBitmap(UsesQGuiApplication):
+class TestQBitmap(UsesQApplication):
def testFromDataMethod(self):
dataBits = bytes('\x38\x28\x38\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\xfe\xfe\x7c\x7c\x38\x38\x10\x10', "UTF-8")
bim = QBitmap.fromData(QSize(8, 48), dataBits, QImage.Format_Mono) # missing function