summaryrefslogtreecommitdiff
path: root/python/subunit/test_results.py
diff options
context:
space:
mode:
authorJonathan Lange <jml@mumak.net>2012-04-20 12:32:41 +0100
committerJonathan Lange <jml@mumak.net>2012-04-20 12:32:41 +0100
commita61e333822723ca40c9e7423228bd1f240eddd91 (patch)
tree507a99c87e6a934e925b57dd4802ccccbace6d8d /python/subunit/test_results.py
parent89eb5aede70157e89c93df2e6bf988ecb6fcba02 (diff)
downloadsubunit-git-a61e333822723ca40c9e7423228bd1f240eddd91.tar.gz
Flush global tags too.
Diffstat (limited to 'python/subunit/test_results.py')
-rw-r--r--python/subunit/test_results.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/subunit/test_results.py b/python/subunit/test_results.py
index 4a55cf8..8db40e1 100644
--- a/python/subunit/test_results.py
+++ b/python/subunit/test_results.py
@@ -244,6 +244,8 @@ class TagCollapsingDecorator(HookedTestResultDecorator):
self.decorated.tags(new_tags, gone_tags)
if self._current_test_tags:
self._current_test_tags = set(), set()
+ else:
+ self._global_tags = set(), set()
def tags(self, new_tags, gone_tags):
"""Handle tag instructions.