diff options
Diffstat (limited to 'selftest')
-rw-r--r-- | selftest/subunithelper.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/selftest/subunithelper.py b/selftest/subunithelper.py index e60c8d340c..872989e088 100644 --- a/selftest/subunithelper.py +++ b/selftest/subunithelper.py @@ -376,7 +376,7 @@ class PlainFormatter(TestsuiteEnabledTestResult): self.totalsuites = totaltests self.last_time = None - @classmethod + @staticmethod def _format_time(delta): minutes, seconds = divmod(delta.seconds, 60) hours, minutes = divmod(minutes, 60) @@ -554,3 +554,4 @@ class PlainFormatter(TestsuiteEnabledTestResult): self.totalsuites-=1 +class TestProtocolServer(subunit.TestProtocolServer): |