summaryrefslogtreecommitdiff
path: root/nose
diff options
context:
space:
mode:
Diffstat (limited to 'nose')
-rw-r--r--nose/plugins/xunit.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/nose/plugins/xunit.py b/nose/plugins/xunit.py
index 7be433b..5d5c484 100644
--- a/nose/plugins/xunit.py
+++ b/nose/plugins/xunit.py
@@ -226,6 +226,9 @@ class Xunit(Plugin):
def startContext(self, context):
self._startCapture()
+ def stopContext(self, context):
+ self._endCapture()
+
def beforeTest(self, test):
"""Initializes a timer before starting a test."""
self._timer = time()