summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorRobert Collins <robertc@robertcollins.net>2011-05-23 21:57:58 +1200
committerRobert Collins <robertc@robertcollins.net>2011-05-23 21:57:58 +1200
commitbd71cf5f64f746a4d49d263b363668b6327ee12c (patch)
tree2de590c799522634312e9e5a37b9b788844d4701 /python
parentefc35c3b02878fb50833627b92427eb4db567cbc (diff)
downloadsubunit-git-bd71cf5f64f746a4d49d263b363668b6327ee12c.tar.gz
* ``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)
Diffstat (limited to 'python')
-rw-r--r--python/subunit/test_results.py2
1 files changed, 1 insertions, 1 deletions
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