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
commitd3afccca4ff8367fbc6d46ca22dc01cc3751ba11 (patch)
tree507a99c87e6a934e925b57dd4802ccccbace6d8d /python/subunit/test_results.py
parent3ad082ba5d9ae87b56d25bf34d0fa3fc09b41c27 (diff)
downloadsubunit-d3afccca4ff8367fbc6d46ca22dc01cc3751ba11.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.