[Yt-svn] commit/yt: MatthewTurk: Fixing test runner to utilize sys.exc_info to get the necessary arguments to
Bitbucket
commits-noreply at bitbucket.org
Mon Aug 15 09:53:14 PDT 2011
1 new changeset in yt:
http://bitbucket.org/yt_analysis/yt/changeset/50bbdfb908db/
changeset: 50bbdfb908db
branch: yt
user: MatthewTurk
date: 2011-08-15 18:52:57
summary: Fixing test runner to utilize sys.exc_info to get the necessary arguments to
format_exception for xunit.py.
affected #: 1 file (6 bytes)
--- a/yt/utilities/answer_testing/runner.py Mon Aug 15 10:41:55 2011 -0400
+++ b/yt/utilities/answer_testing/runner.py Mon Aug 15 12:52:57 2011 -0400
@@ -148,7 +148,7 @@
try:
test.compare(old_result)
except RegressionTestException, exc:
- return (False, str(exc))
+ return (False, sys.exc_info())
return (True, "Pass")
def run_tests_from_file(self, filename):
Repository URL: https://bitbucket.org/yt_analysis/yt/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the yt-svn
mailing list