[yt-svn] commit/yt-3.0: xarthisius: Adjust __name__ in test function to workaround nosetests' xunit reporting

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Wed Aug 14 10:49:57 PDT 2013


1 new commit in yt-3.0:

https://bitbucket.org/yt_analysis/yt-3.0/commits/e596b87e779b/
Changeset:   e596b87e779b
Branch:      yt-3.0
User:        xarthisius
Date:        2013-08-14 17:26:50
Summary:     Adjust __name__ in test function to workaround nosetests' xunit reporting
Affected #:  1 file

diff -r e2fc6f0ed6b6e5d3bfc40175a84c37f8df08bff9 -r e596b87e779b561820921a24902fb076239c6907 yt/data_objects/tests/test_fields.py
--- a/yt/data_objects/tests/test_fields.py
+++ b/yt/data_objects/tests/test_fields.py
@@ -98,4 +98,5 @@
         if fname.startswith("Overdensity"): continue
         if FieldInfo[field].particle_type: continue
         for nproc in [1, 4, 8]:
+            test_all_fields.__name__ = "%s_%s" % (field, nproc)
             yield TestFieldAccess(field, nproc)

Repository URL: https://bitbucket.org/yt_analysis/yt-3.0/

--

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