[yt-svn] commit/yt: 2 new changesets
Bitbucket
commits-noreply at bitbucket.org
Wed Nov 7 14:35:43 PST 2012
2 new commits in yt:
https://bitbucket.org/yt_analysis/yt/changeset/93824c3b33ea/
changeset: 93824c3b33ea
branch: yt
user: MatthewTurk
date: 2012-11-07 23:35:14
summary: Simple hotfix for prefixing storage names
affected #: 1 file
diff -r 9423fbdc1ca7bcc023a66b68fd912a852c6427ff -r 93824c3b33ea1a1630891598afb6ee0f455bf1c4 yt/utilities/answer_testing/framework.py
--- a/yt/utilities/answer_testing/framework.py
+++ b/yt/utilities/answer_testing/framework.py
@@ -179,7 +179,9 @@
@property
def storage_name(self):
- return "%s_%s" % (self.prefix, self.pf)
+ if self.prefix != "":
+ return "%s_%s" % (self.prefix, self.pf)
+ return str(self.pf)
def compare(self, new_result, old_result):
raise RuntimeError
https://bitbucket.org/yt_analysis/yt/changeset/165822e82706/
changeset: 165822e82706
branch: yt
user: MatthewTurk
date: 2012-11-07 23:35:34
summary: Merging
affected #: 1 file
diff -r 93824c3b33ea1a1630891598afb6ee0f455bf1c4 -r 165822e82706aad84cb5bd658100c501823099ca yt/utilities/answer_testing/framework.py
--- a/yt/utilities/answer_testing/framework.py
+++ b/yt/utilities/answer_testing/framework.py
@@ -394,6 +394,7 @@
def ffalse(func):
return lambda: None
def ftrue(func):
+ @wraps(func)
def fyielder(*args, **kwargs):
for t in func(*args, **kwargs):
if isinstance(t, AnswerTestingTest):
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