[yt-svn] commit/yt: jzuhone: Merged in ngoldbaum/yt (pull request #2190)

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Wed May 25 11:08:54 PDT 2016


1 new commit in yt:

https://bitbucket.org/yt_analysis/yt/commits/9f144e38bbb1/
Changeset:   9f144e38bbb1
Branch:      yt
User:        jzuhone
Date:        2016-05-25 18:08:45+00:00
Summary:     Merged in ngoldbaum/yt (pull request #2190)

[doc] fix error in code example for image comparison tests
Affected #:  1 file

diff -r 4898059be9f9314615b7a7df090845dda5bdefe5 -r 9f144e38bbb19209cee1f5169f1a7d3612f32871 doc/source/developing/testing.rst
--- a/doc/source/developing/testing.rst
+++ b/doc/source/developing/testing.rst
@@ -470,9 +470,9 @@
        test.prefix = "my_unique_name"
 
        # this ensures a nice test name in nose's output
-       test_my_ds.__description__ = test.description
+       test_my_ds.__name__ = test.description
 
-       yield test_my_ds
+       yield test
 
 Another good example of an image comparison test is the
 ``PlotWindowAttributeTest`` defined in the answer testing framework and used in

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