summaryrefslogtreecommitdiff
path: root/python/subunit
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
commit36d4d611529cbdbabdc4f5f547225348607ea2d5 (patch)
tree2de590c799522634312e9e5a37b9b788844d4701 /python/subunit
parentf8a1f41069bbb1de9146afe6831f23167aee6eb6 (diff)
downloadsubunit-36d4d611529cbdbabdc4f5f547225348607ea2d5.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/subunit')
-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