misc,python: Run pre-commit run --all-files
Applies the `pyupgrade` hook to all files in the repo. Change-Id: I9879c634a65c5fcaa9567c63bc5977ff97d5d3bf
This commit is contained in:
@@ -31,7 +31,7 @@ import testlib.helper as helper
|
||||
import testlib.runner as runner_mod
|
||||
|
||||
|
||||
class TestSuite(object):
|
||||
class TestSuite:
|
||||
"""
|
||||
An object grouping a collection of tests. It provides tags which enable
|
||||
filtering during list and run selection. All tests held in the suite must
|
||||
@@ -54,7 +54,7 @@ class TestSuite(object):
|
||||
tags = set()
|
||||
|
||||
def __new__(klass, *args, **kwargs):
|
||||
obj = super(TestSuite, klass).__new__(klass)
|
||||
obj = super().__new__(klass)
|
||||
TestSuite.collector.collect(obj)
|
||||
return obj
|
||||
|
||||
|
||||
Reference in New Issue
Block a user