diff options
Diffstat (limited to 'sources/pyside6/tests/QtCore/bug_332.py')
-rw-r--r-- | sources/pyside6/tests/QtCore/bug_332.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sources/pyside6/tests/QtCore/bug_332.py b/sources/pyside6/tests/QtCore/bug_332.py index 6b2e62db8..333f7fcdf 100644 --- a/sources/pyside6/tests/QtCore/bug_332.py +++ b/sources/pyside6/tests/QtCore/bug_332.py @@ -41,14 +41,15 @@ from PySide6.QtCore import QMutex class Lock(QMutex): - def tryLock(self,timeoutt=10): - return QMutex.tryLock(self,timeoutt) + def tryLock(self, timeout=10): + return QMutex.tryLock(self, timeout) + class TestBug(unittest.TestCase): def testCase(self): l = Lock() - l.tryLock() # this cause a assertion + l.tryLock() # this cause a assertion if __name__ == '__main__': |