Even more super deletions

This commit is contained in:
Dave Halter
2020-07-02 12:28:04 +02:00
parent a0de93a638
commit 24a1bbb3ca
15 changed files with 63 additions and 64 deletions

View File

@@ -164,7 +164,7 @@ class BaseTestCase(object):
class IntegrationTestCase(BaseTestCase):
def __init__(self, test_type, correct, line_nr, column, start, line,
path=None, skip_version_info=None):
super(IntegrationTestCase, self).__init__(skip_version_info)
super().__init__(skip_version_info)
self.test_type = test_type
self.correct = correct
self.line_nr = line_nr
@@ -294,7 +294,7 @@ class StaticAnalysisCase(BaseTestCase):
for line in self._source.splitlines():
skip_version_info = skip_python_version(line) or skip_version_info
super(StaticAnalysisCase, self).__init__(skip_version_info)
super().__init__(skip_version_info)
def collect_comparison(self):
cases = []

View File

@@ -13,7 +13,7 @@ class TestSetupReadline(unittest.TestCase):
pass
def __init__(self, *args, **kwargs):
super(type(self), self).__init__(*args, **kwargs)
super().__init__(*args, **kwargs)
self.namespace = self.NameSpace()
utils.setup_readline(self.namespace)