diff options
author | John Szakmeister <john@szakmeister.net> | 2013-11-26 02:08:57 -0800 |
---|---|---|
committer | John Szakmeister <john@szakmeister.net> | 2013-11-26 02:08:57 -0800 |
commit | 49aa9934d00596b6909facabec7cd0718ccfd910 (patch) | |
tree | 6c5a456dbdcb5d40b8d3d76bf90209b27a28c621 /nose | |
parent | 5d74d920f520089bd70035c8bbe1a2d51beac72e (diff) | |
parent | 1a49301e7ddf45d846ee5f4d33d369ab024a5413 (diff) | |
download | nose-49aa9934d00596b6909facabec7cd0718ccfd910.tar.gz |
Merge pull request #750 from AndreLouisCaron/fix-xunit-capture-stack
Fixes issue #749.
Diffstat (limited to 'nose')
-rw-r--r-- | nose/plugins/xunit.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nose/plugins/xunit.py b/nose/plugins/xunit.py index 7e5d793..d0aed88 100644 --- a/nose/plugins/xunit.py +++ b/nose/plugins/xunit.py @@ -223,6 +223,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() |