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/pysidetest/notify_id.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sources/pyside6/tests/pysidetest/notify_id.py') diff --git a/sources/pyside6/tests/pysidetest/notify_id.py b/sources/pyside6/tests/pysidetest/notify_id.py index 870ee144a..f3c38ab06 100644 --- a/sources/pyside6/tests/pysidetest/notify_id.py +++ b/sources/pyside6/tests/pysidetest/notify_id.py @@ -42,7 +42,7 @@ notify method.''' class Foo(QObject): def __init__(self): - QObject.__init__(self) + super().__init__() self._prop = "Empty" def getProp(self): -- cgit v1.2.3