diff options
Diffstat (limited to 'python/subunit')
| -rw-r--r-- | python/subunit/test_results.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/subunit/test_results.py b/python/subunit/test_results.py index a3f640d..e1e59df 100644 --- a/python/subunit/test_results.py +++ b/python/subunit/test_results.py @@ -308,7 +308,8 @@ class TestResultFilter(TestResultDecorator): as 'success' or 'failure'. """ TestResultDecorator.__init__(self, result) - self.decorated = TagCollapsingDecorator(self.decorated) + self.decorated = TimeCollapsingDecorator( + TagCollapsingDecorator(self.decorated)) predicates = [] if filter_error: predicates.append(lambda t, outcome, e, d: outcome != 'error') @@ -398,7 +399,6 @@ class TestResultFilter(TestResultDecorator): self._buffered_calls = [] def time(self, a_time): - # XXX: Make a TimeCollapsingDecorator. if self._current_test is not None: self._buffered_calls.append(('time', [a_time], {})) else: |
