diff options
Diffstat (limited to 'sources/pyside6/tests/QtUiTools/bug_909.py')
| -rw-r--r-- | sources/pyside6/tests/QtUiTools/bug_909.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/pyside6/tests/QtUiTools/bug_909.py b/sources/pyside6/tests/QtUiTools/bug_909.py index 96e1d1fa8..99c80aa09 100644 --- a/sources/pyside6/tests/QtUiTools/bug_909.py +++ b/sources/pyside6/tests/QtUiTools/bug_909.py @@ -46,7 +46,7 @@ class TestDestruction(UsesQApplication): def testBug909(self): file = Path(__file__).resolve().parent / 'bug_909.ui' self.assertTrue(file.is_file()) - fileName = QFile(os.fspath(file)) + fileName = QFile(file) loader = QUiLoader() main_win = loader.load(fileName) self.assertEqual(sys.getrefcount(main_win), 2) |
