Commits

Cameron Hummels  committed 3c88ed1

Adding exception for existence testing in enzo test suite.

  • Participants
  • Parent commits ec777c1

Comments (0)

Files changed (1)

File yt/utilities/exceptions.py

 
     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."