aboutsummaryrefslogtreecommitdiffstats
path: root/xtesting/core/testcase.py
diff options
context:
space:
mode:
authorVincent Danno <vincent.danno@orange.com>2021-06-09 21:29:05 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2021-08-12 09:46:49 +0200
commit569599f5950fcbf9c2c9f0fdf5f4b469babe573a (patch)
treef63676d6931e219f7e854bca653425bef05a5695 /xtesting/core/testcase.py
parente6288ba6b497061e280caa5a574fe22a9ba9f504 (diff)
Use python 3 super() style
See https://www.python.org/dev/peps/pep-3135/ Signed-off-by: Vincent Danno <vincent.danno@orange.com> Change-Id: I4f74db4a019b70d0289f8969d57fa9ad629c586f
Diffstat (limited to 'xtesting/core/testcase.py')
-rw-r--r--xtesting/core/testcase.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/xtesting/core/testcase.py b/xtesting/core/testcase.py
index 15936f1d..672ba3f7 100644
--- a/xtesting/core/testcase.py
+++ b/xtesting/core/testcase.py
@@ -89,7 +89,7 @@ class TestCase(metaclass=abc.ABCMeta):
return msg.get_string()
except AssertionError:
self.__logger.error("We cannot print invalid objects")
- return super(TestCase, self).__str__()
+ return super().__str__()
def get_duration(self):
"""Return the duration of the test case.