[yt-svn] commit/yt: xarthisius: Merged in xarthisius/yt (pull request #1708)

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Wed Aug 26 10:15:42 PDT 2015


1 new commit in yt:

https://bitbucket.org/yt_analysis/yt/commits/580e8d4ccc0e/
Changeset:   580e8d4ccc0e
Branch:      yt
User:        xarthisius
Date:        2015-08-26 17:15:24+00:00
Summary:     Merged in xarthisius/yt (pull request #1708)

[py3] Use OrderedDict for tests as it is included in answer's name
Affected #:  1 file

diff -r 0d479d8c21a4557c8fc17329c0171ff6dec4e8e8 -r 580e8d4ccc0ecd2f0d8198307cf0d074b0b735cb yt/visualization/tests/test_plotwindow.py
--- a/yt/visualization/tests/test_plotwindow.py
+++ b/yt/visualization/tests/test_plotwindow.py
@@ -27,6 +27,7 @@
 from yt.visualization.api import \
     SlicePlot, ProjectionPlot, OffAxisSlicePlot, OffAxisProjectionPlot
 from yt.units.yt_array import YTArray, YTQuantity
+from collections import OrderedDict
 
 def setup():
     """Test specific setup."""
@@ -77,8 +78,10 @@
              "set_center": [(((0.4, 0.3), ), {})],
              "set_cmap": [(('density', 'RdBu'), {}),
                           (('density', 'kamae'), {})],
-             "set_font": [(({'family': 'sans-serif', 'style': 'italic',
-                             'weight': 'bold', 'size': 24}, ), {})],
+             "set_font": [((OrderedDict({'family': 'sans-serif',
+                                         'style': 'italic',
+                                         'weight': 'bold', 'size': 24}), ),
+                           {})],
              "set_log": [(('density', False), {})],
              "set_window_size": [((7.0, ), {})],
              "set_zlim": [(('density', 1e-25, 1e-23), {}),

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