[yt-svn] commit/yt: chummels: Adding exception for existence testing in enzo test suite.
Bitbucket
commits-noreply at bitbucket.org
Fri Nov 9 08:15:58 PST 2012
1 new commit in yt:
https://bitbucket.org/yt_analysis/yt/changeset/3c88ed17da43/
changeset: 3c88ed17da43
branch: yt
user: chummels
date: 2012-11-09 17:15:45
summary: Adding exception for existence testing in enzo test suite.
affected #: 1 file
diff -r ec777c11fece4ea5133f2cf0535e851b7e491b63 -r 3c88ed17da43b06f6f4c947519f235fc8d508924 yt/utilities/exceptions.py
--- a/yt/utilities/exceptions.py
+++ b/yt/utilities/exceptions.py
@@ -172,3 +172,11 @@
def __str__(self):
return "Must have A>=B>=C"
+
+class EnzoTestOutputFileNonExistent(YTException):
+ def __init__(self, testname):
+ self.testname = testname
+
+ def __str__(self):
+ return "Enzo test output file (OutputLog) not generated for: " + \
+ "'%s'" % (self.testname) + ".\nTest did not complete."
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