From 6bb7b383701d25f3c7346a785d3cb2e916261ba3 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Wed, 28 Apr 2021 12:21:41 +0200 Subject: Tests: Use new form of super() Change-Id: Id0a6c5e67f53623cc6d41ccc377218479931ee65 Reviewed-by: Cristian Maureira-Fredes --- sources/pyside6/tests/QtCore/qthread_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sources/pyside6/tests/QtCore/qthread_test.py') diff --git a/sources/pyside6/tests/QtCore/qthread_test.py b/sources/pyside6/tests/QtCore/qthread_test.py index e3f7c7f19..666d55b7e 100644 --- a/sources/pyside6/tests/QtCore/qthread_test.py +++ b/sources/pyside6/tests/QtCore/qthread_test.py @@ -49,7 +49,7 @@ mutex = QMutex() class Dummy(QThread): '''Dummy thread''' def __init__(self, *args): - super(Dummy, self).__init__(*args) + super().__init__(*args) self.called = False def run(self): -- cgit v1.2.3