diff options
Diffstat (limited to 'sources/pyside6/tests/util')
-rw-r--r-- | sources/pyside6/tests/util/helper/basicpyslotcase.py | 2 | ||||
-rw-r--r-- | sources/pyside6/tests/util/helper/docmodifier.py | 2 | ||||
-rw-r--r-- | sources/pyside6/tests/util/processtimer.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/sources/pyside6/tests/util/helper/basicpyslotcase.py b/sources/pyside6/tests/util/helper/basicpyslotcase.py index 80da149bd..b495eaead 100644 --- a/sources/pyside6/tests/util/helper/basicpyslotcase.py +++ b/sources/pyside6/tests/util/helper/basicpyslotcase.py @@ -5,7 +5,7 @@ from __future__ import annotations import gc -class BasicPySlotCase(object): +class BasicPySlotCase: '''Base class that tests python slots and signal emissions. Python slots are defined as any callable passed to QObject.connect(). diff --git a/sources/pyside6/tests/util/helper/docmodifier.py b/sources/pyside6/tests/util/helper/docmodifier.py index b6de62abb..ee95d9a0f 100644 --- a/sources/pyside6/tests/util/helper/docmodifier.py +++ b/sources/pyside6/tests/util/helper/docmodifier.py @@ -59,7 +59,7 @@ class DocModifier(type): if __name__ == '__main__': # tests - class BaseTest(object): + class BaseTest: __metaclass__ = DocModifier def testBase(self): diff --git a/sources/pyside6/tests/util/processtimer.py b/sources/pyside6/tests/util/processtimer.py index 8187901c6..905405585 100644 --- a/sources/pyside6/tests/util/processtimer.py +++ b/sources/pyside6/tests/util/processtimer.py @@ -15,7 +15,7 @@ class TimeoutException(Exception): return repr(self.msg) -class ProcessTimer(object): +class ProcessTimer: '''Timeout function for controlling a subprocess.Popen instance. Naive implementation using busy loop, see later other means |