From bd71cf5f64f746a4d49d263b363668b6327ee12c Mon Sep 17 00:00:00 2001 From: Robert Collins Date: Mon, 23 May 2011 21:57:58 +1200 Subject: * ``subunit-ls`` now handles a stream with time: instructions that start partway through the stream (which may lead to strange times) more gracefully. (Robert Collins, #785954) --- python/subunit/test_results.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python') diff --git a/python/subunit/test_results.py b/python/subunit/test_results.py index f312416..fd54b00 100644 --- a/python/subunit/test_results.py +++ b/python/subunit/test_results.py @@ -439,7 +439,7 @@ class TestIdPrintingResult(testtools.TestResult): super(TestIdPrintingResult, self).__init__() self._stream = stream self.failed_tests = 0 - self.__time = 0 + self.__time = None self.show_times = show_times self._test = None self._test_duration = 0 -- cgit v1.2.1