diff options
Diffstat (limited to 'sources/pyside6/tests/QtUiTools/bug_797.py')
| -rw-r--r-- | sources/pyside6/tests/QtUiTools/bug_797.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/pyside6/tests/QtUiTools/bug_797.py b/sources/pyside6/tests/QtUiTools/bug_797.py index ac9ec2dcc..1185302e2 100644 --- a/sources/pyside6/tests/QtUiTools/bug_797.py +++ b/sources/pyside6/tests/QtUiTools/bug_797.py @@ -44,7 +44,7 @@ app = QApplication([]) loader = QUiLoader() file = Path(__file__).resolve().parent / 'bug_552.ui' assert(file.is_file()) -file = QFile(os.fspath(file)) +file = QFile(file) w = QWidget() # An exception can't be thrown mainWindow = loader.load(file, w) |
