Commit 14efa955 authored by Jelmer Vernooij's avatar Jelmer Vernooij

subunithelper: Fix format time.

parent 20c65121
......@@ -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):
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment