summaryrefslogtreecommitdiff
path: root/nose/plugins
diff options
context:
space:
mode:
authorAndre Caron <andre.l.caron@gmail.com>2013-11-25 17:33:53 -0500
committerAndre Caron <andre.l.caron@gmail.com>2013-11-25 17:33:53 -0500
commitea0cfceefe965de15b530e649eb4df58a8bc7578 (patch)
treed2fce969b9ba0274c340bb754aec379c0f1bb3bf /nose/plugins
parent4dfea5155d61714f6bbca4f50732f6c4f3142787 (diff)
downloadnose-ea0cfceefe965de15b530e649eb4df58a8bc7578.tar.gz
Fixes issue #749.
Diffstat (limited to 'nose/plugins')
-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()