aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/QtSvgWidgets/qsvgwidget_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/tests/QtSvgWidgets/qsvgwidget_test.py')
-rw-r--r--sources/pyside6/tests/QtSvgWidgets/qsvgwidget_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/pyside6/tests/QtSvgWidgets/qsvgwidget_test.py b/sources/pyside6/tests/QtSvgWidgets/qsvgwidget_test.py
index a1a718733..28e693dc2 100644
--- a/sources/pyside6/tests/QtSvgWidgets/qsvgwidget_test.py
+++ b/sources/pyside6/tests/QtSvgWidgets/qsvgwidget_test.py
@@ -30,7 +30,7 @@ class QSvgWidgetTest(unittest.TestCase):
self.assertTrue(fromFile.renderer().isValid())
tigerFile = QFile(tigerPath)
- tigerFile.open(QFile.ReadOnly)
+ tigerFile.open(QFile.OpenModeFlag.ReadOnly)
tigerData = tigerFile.readAll()
fromContents = QSvgWidget()
fromContents.load(tigerData)