[yt-svn] commit/yt: brittonsmith: Making sure compare_name for answer testing is set to None if

Bitbucket commits-noreply at bitbucket.org
Thu Nov 15 19:26:35 PST 2012


1 new commit in yt:


https://bitbucket.org/yt_analysis/yt/changeset/aa9713fe0551/
changeset:   aa9713fe0551
branch:      yt
user:        brittonsmith
date:        2012-11-16 04:26:29
summary:     Making sure compare_name for answer testing is set to None if
--answer-store has been selected.
affected #:  1 file

diff -r da3fcd605bcc411ff32fa2f9fc22ef2bc4c2658b -r aa9713fe0551cf5855055c1bec43cf6e1d850426 yt/utilities/answer_testing/framework.py
--- a/yt/utilities/answer_testing/framework.py
+++ b/yt/utilities/answer_testing/framework.py
@@ -93,7 +93,9 @@
             options.compare_name = None
         elif options.compare_name == "latest":
             options.compare_name = _latest
-
+        if options.store_results:
+            options.compare_name = None
+            
         # Local/Cloud storage 
         if options.store_local_results:
             storage_class = AnswerTestLocalStorage

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