[yt-svn] commit/yt: MatthewTurk: Adding ability to skip comparison

Bitbucket commits-noreply at bitbucket.org
Wed Nov 7 12:53:33 PST 2012


1 new commit in yt:


https://bitbucket.org/yt_analysis/yt/changeset/2279e0e8385d/
changeset:   2279e0e8385d
branch:      yt
user:        MatthewTurk
date:        2012-11-07 21:53:25
summary:     Adding ability to skip comparison
affected #:  1 file

diff -r fc5e758cc8d0499e7e4006fe187720cc342b06bf -r 2279e0e8385d7c76fa12d9b6129869fa3ddb63aa yt/utilities/answer_testing/framework.py
--- a/yt/utilities/answer_testing/framework.py
+++ b/yt/utilities/answer_testing/framework.py
@@ -76,6 +76,8 @@
         ytcfg["yt","__withintesting"] = "True"
         AnswerTestingTest.result_storage = \
             self.result_storage = defaultdict(dict)
+        if options.compare_name == "SKIP":
+            options.compare_name = None
         if options.compare_name is not None:
             # Now we grab from our S3 store
             if options.compare_name == "latest":

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