<html><body>
<p>6 new commits in yt:</p>
<p><a href="https://bitbucket.org/yt_analysis/yt/commits/052e99a9b5ff/">https://bitbucket.org/yt_analysis/yt/commits/052e99a9b5ff/</a> Changeset: 052e99a9b5ff Branch: yt User: xarthisius Date: 2016-03-15 23:06:28+00:00 Summary: Add blacklist to test_cookbook.py Affected #: 1 file</p>
<p>diff -r bd8a7c0ed718365c84f355f9b30a1a95bd77c98b -r 052e99a9b5ffea8415cd25481d2ef2d6dfd0a395 doc/source/cookbook/tests/test_cookbook.py --- a/doc/source/cookbook/tests/test_cookbook.py +++ b/doc/source/cookbook/tests/test_cookbook.py @@ -15,12 +15,15 @@</p>
<pre>PARALLEL_TEST = {"rockstar_nest.py": "3"}</pre>
<p>+BLACKLIST = ["opengl_ipython.py", “opengl_vr.py”]</p>
<pre>def test_recipe():
'''Dummy test grabbing all cookbook's recipes'''
for fname in glob.glob("doc/source/cookbook/*.py"):
recipe = os.path.basename(fname)</pre>
<p>+ if recipe in BLACKLIST: + continue</p>
<pre> check_recipe.description = "Testing recipe: %s" % recipe
if recipe in PARALLEL_TEST:
yield check_recipe, \</pre>
<p><a href="https://bitbucket.org/yt_analysis/yt/commits/642dad47c849/">https://bitbucket.org/yt_analysis/yt/commits/642dad47c849/</a> Changeset: 642dad47c849 Branch: yt User: xarthisius Date: 2016-03-30 22:32:43+00:00 Summary: Add rockstar_nest.py to blacklisted recipes for py3 Affected #: 1 file</p>
<p>diff -r 052e99a9b5ffea8415cd25481d2ef2d6dfd0a395 -r 642dad47c849afbf4b9ca564a98030d951670e3a doc/source/cookbook/tests/test_cookbook.py --- a/doc/source/cookbook/tests/test_cookbook.py +++ b/doc/source/cookbook/tests/test_cookbook.py @@ -11,12 +11,15 @@</p>
<pre>"""
import glob
import os</pre>
<p>+import sys</p>
<pre>import subprocess
PARALLEL_TEST = {"rockstar_nest.py": "3"}
BLACKLIST = ["opengl_ipython.py", "opengl_vr.py"]
</pre>
<p>+if sys.version_info >= (3,0,0): + BLACKLIST.append("rockstar_nest.py")</p>
<pre>def test_recipe():
'''Dummy test grabbing all cookbook's recipes'''</pre>
<p><a href="https://bitbucket.org/yt_analysis/yt/commits/5629c3365653/">https://bitbucket.org/yt_analysis/yt/commits/5629c3365653/</a> Changeset: 5629c3365653 Branch: yt User: xarthisius Date: 2016-03-30 23:12:15+00:00 Summary: range() argument needs to be an int Affected #: 1 file</p>
<p>diff -r 642dad47c849afbf4b9ca564a98030d951670e3a -r 5629c3365653b56cff1dd95ea2d521f1cb81e41f yt/frontends/gadget_fof/tests/test_outputs.py --- a/yt/frontends/gadget_fof/tests/test_outputs.py +++ b/yt/frontends/gadget_fof/tests/test_outputs.py @@ -62,7 +62,7 @@</p>
<pre>for hid in range(0, ds.index.particle_count["Group"]):
my_h = ds.halo("Group", hid)
h_ids = my_h["ID"]</pre>
<ul><li><p>for sid in range(my_h["subhalo_number"]):</p></li></ul>
<p>+ for sid in range(int(my_h["subhalo_number"][0])):</p>
<pre>my_s = ds.halo("Subhalo", (my_h.particle_identifier, sid))
total_sub += my_s["ID"].size
total_int += np.intersect1d(h_ids, my_s["ID"]).size</pre>
<p><a href="https://bitbucket.org/yt_analysis/yt/commits/d35b76a35dd4/">https://bitbucket.org/yt_analysis/yt/commits/d35b76a35dd4/</a> Changeset: d35b76a35dd4 Branch: yt User: xarthisius Date: 2016-03-30 23:12:52+00:00 Summary: wrap dict.keys() in list() where necessary Affected #: 1 file</p>
<p>diff -r 5629c3365653b56cff1dd95ea2d521f1cb81e41f -r d35b76a35dd4fb9e14a9816f48f3bf62d38598e7 yt/visualization/profile_plotter.py --- a/yt/visualization/profile_plotter.py +++ b/yt/visualization/profile_plotter.py @@ -462,7 +462,7 @@</p>
<pre> """
if field == "all":
self.x_log = log</pre>
<ul><li><p>for field in self.profiles[0].field_data.keys():</p></li></ul>
<p>+ for field in list(self.profiles[0].field_data.keys()):</p>
<pre> self.y_log[field] = log
else:
field, = self.profiles[0].data_source._determine_fields([field])</pre>
<p>@@ -578,7 +578,7 @@</p>
<pre>"""
if field is 'all':</pre>
<ul><li><p>fields = self.axes.keys()</p></li></ul>
<p>+ fields = list(self.axes.keys())</p>
<pre> else:
fields = ensure_list(field)
for profile in self.profiles:</pre>
<p>@@ -971,7 +971,7 @@</p>
<pre> >>> plot.annotate_text(1e-15, 5e4, "Hello YT")
"""</pre>
<ul><li><p>for f in self.data_source._determine_fields(self.plots.keys()):</p></li></ul>
<p>+ for f in self.data_source._determine_fields(list(self.plots.keys())):</p>
<pre>if self.plots[f].figure is not None and text is not None:
self.plots[f].axes.text(xpos, ypos, text,
fontproperties=self._font_properties,</pre>
<p><a href="https://bitbucket.org/yt_analysis/yt/commits/3d5af6f5d494/">https://bitbucket.org/yt_analysis/yt/commits/3d5af6f5d494/</a> Changeset: 3d5af6f5d494 Branch: yt User: xarthisius Date: 2016-03-30 23:13:06+00:00 Summary: Add missing gadget_fof tests Affected #: 1 file</p>
<p>diff -r d35b76a35dd4fb9e14a9816f48f3bf62d38598e7 -r 3d5af6f5d494c2428dd999d7947bc03a845dafab tests/tests_3.5.yaml --- a/tests/tests_3.5.yaml +++ b/tests/tests_3.5.yaml @@ -25,6 +25,8 @@</p>
<pre>local_halos_350:
- yt/frontends/owls_subfind/tests/test_outputs.py</pre>
<p>+ – yt/frontends/gadget_fof/tests/test_outputs.py:test_fields_g5 + – yt/frontends/gadget_fof/tests/test_outputs.py:test_fields_g42</p>
<pre>local_owls_350:
- yt/frontends/owls/tests/test_outputs.py</pre>
<p><a href="https://bitbucket.org/yt_analysis/yt/commits/02e42b39f5de/">https://bitbucket.org/yt_analysis/yt/commits/02e42b39f5de/</a> Changeset: 02e42b39f5de Branch: yt User: xarthisius Date: 2016-03-31 01:03:09+00:00 Summary: Ensure that mesh_render tests have unique names Affected #: 3 files</p>
<p>diff -r 3d5af6f5d494c2428dd999d7947bc03a845dafab -r 02e42b39f5de3bd266e103eb7df7bbf0e390ad64 tests/tests_2.7.yaml --- a/tests/tests_2.7.yaml +++ b/tests/tests_2.7.yaml @@ -42,7 +42,7 @@</p>
<pre>local_tipsy_270:
- yt/frontends/tipsy/tests/test_outputs.py
</pre>
<ul><li><p>local_varia_273:</p></li></ul>
<p>+ local_varia_274:</p>
<pre>- yt/analysis_modules/radmc3d_export
- yt/frontends/moab/tests/test_c5.py
- yt/analysis_modules/photon_simulator/tests/test_spectra.py</pre>
<p>diff -r 3d5af6f5d494c2428dd999d7947bc03a845dafab -r 02e42b39f5de3bd266e103eb7df7bbf0e390ad64 tests/tests_3.5.yaml --- a/tests/tests_3.5.yaml +++ b/tests/tests_3.5.yaml @@ -42,7 +42,7 @@</p>
<pre>local_tipsy_350:
- yt/frontends/tipsy/tests/test_outputs.py
</pre>
<ul><li><p>local_varia_350:</p></li></ul>
<p>+ local_varia_351:</p>
<pre>- yt/analysis_modules/radmc3d_export
- yt/frontends/moab/tests/test_c5.py
- yt/analysis_modules/photon_simulator/tests/test_spectra.py</pre>
<p>diff -r 3d5af6f5d494c2428dd999d7947bc03a845dafab -r 02e42b39f5de3bd266e103eb7df7bbf0e390ad64 yt/visualization/volume_rendering/tests/test_mesh_render.py --- a/yt/visualization/volume_rendering/tests/test_mesh_render.py +++ b/yt/visualization/volume_rendering/tests/test_mesh_render.py @@ -52,6 +52,7 @@</p>
<pre> def mesh_render_image_func(filename_prefix):
return im.write_image(filename_prefix)
</pre>
<p>+ mesh_render_image_func.__name__ = "func_{}".format(test_prefix)</p>
<pre>test = GenericImageTest(ds, mesh_render_image_func, decimals)
test.prefix = test_prefix
return test</pre>
<p>Repository URL: <a href="https://bitbucket.org/yt_analysis/yt/">https://bitbucket.org/yt_analysis/yt/</a></p>
<p>—</p>
<p>This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.</p>
<img src="http://link.bitbucket.org/wf/open?upn=ll4ctv0L-2ByeRZFC1LslHcg6aJmnQ70VruLbmeLQr27BBHX3eCjfLfAN1jU7PgFcZOQKgoR8T6UyTRZbLgTwixu9mIFW469AgW6DRU5OHD4GvmNlmudcCkfhJkVwiK7wfGzGXnnu0x-2BIyzmsCER0H-2FpHj-2FDqS77MRSBlOc0h8gQdxRtUDyIuH65VmbHOzdb6UGUYGq4sM9bgfC1Rp7GRgq62mGDwzuMk53UBFSBK-2BYeo-3D" alt="" width="1" height="1" border="0" style="height:1px !important;width:1px !important;border-width:0 !important;margin-top:0 !important;margin-bottom:0 !important;margin-right:0 !important;margin-left:0 !important;padding-top:0 !important;padding-bottom:0 !important;padding-right:0 !important;padding-left:0 !important;"/>
</body></html>