[yt-svn] commit/yt: xarthisius: Merged in atmyers/yt-fixes/yt-3.0 (pull request #1002)

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Fri Jul 11 12:57:13 PDT 2014


1 new commit in yt:

https://bitbucket.org/yt_analysis/yt/commits/8dbee0d3ec0f/
Changeset:   8dbee0d3ec0f
Branch:      yt-3.0
User:        xarthisius
Date:        2014-07-11 21:57:05
Summary:     Merged in atmyers/yt-fixes/yt-3.0 (pull request #1002)

adding a new dataset to the answer tests for chombo
Affected #:  1 file

diff -r 2d6e0253ad916f379fa19ec9521beb1932851e59 -r 8dbee0d3ec0f47cd16580e64a1d82799c8f1d69b yt/frontends/chombo/tests/test_outputs.py
--- a/yt/frontends/chombo/tests/test_outputs.py
+++ b/yt/frontends/chombo/tests/test_outputs.py
@@ -41,3 +41,14 @@
     for test in small_patch_amr(tb, _fields):
         test_tb.__name__ = test.description
         yield test
+
+_zp_fields = ("rhs", "phi", "gravitational_field_x",
+              "gravitational_field_y")
+zp = "ZeldovichPancake/plt32.2d.hdf5"
+ at requires_pf(zp)
+def test_zp():
+    pf = data_dir_load(zp)
+    yield assert_equal, str(pf), "plt32.2d.hdf5"
+    for test in small_patch_amr(zp, _zp_fields, input_center="c", input_weight="rhs"):
+        test_tb.__name__ = test.description
+        yield test

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