[yt-svn] commit/yt: 8 new changesets

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Mon Dec 5 10:51:56 PST 2016


8 new commits in yt:

https://bitbucket.org/yt_analysis/yt/commits/ad054df75de1/
Changeset:   ad054df75de1
Branch:      yt
User:        xarthisius
Date:        2016-11-30 14:09:41+00:00
Summary:     Drop verbose option from nose, for parallel runs output is not readable
Affected #:  2 files

diff -r 1c3b1ee859420671a78a52e0d964026f0be3a068 -r ad054df75de152be4215dacc8a887f0428a73c0d tests/nose_runner.py
--- a/tests/nose_runner.py
+++ b/tests/nose_runner.py
@@ -67,7 +67,7 @@
                       if DROP_TAG not in line])
     tests = yaml.load(data)
 
-    base_argv = ['--local-dir=%s' % answers_dir, '-v',
+    base_argv = ['--local-dir=%s' % answers_dir,
                  '--with-answer-testing', '--answer-big-data', '--local']
     args = []
 

diff -r 1c3b1ee859420671a78a52e0d964026f0be3a068 -r ad054df75de152be4215dacc8a887f0428a73c0d tests/tests.yaml
--- a/tests/tests.yaml
+++ b/tests/tests.yaml
@@ -81,8 +81,6 @@
 
 other_tests:
   unittests:
-     - '-v'
      - '--exclude=test_mesh_slices'  # disable randomly failing test
   cookbook:
-     - '-v'
      - 'doc/source/cookbook/tests/test_cookbook.py'


https://bitbucket.org/yt_analysis/yt/commits/4fbd3e1fc062/
Changeset:   4fbd3e1fc062
Branch:      yt
User:        xarthisius
Date:        2016-11-30 14:11:58+00:00
Summary:     Remove all dots from the test description

Nose was treating them as subclasses.
Affected #:  1 file

diff -r ad054df75de152be4215dacc8a887f0428a73c0d -r 4fbd3e1fc06229927ab88a60fe4ced36b5abbe00 yt/utilities/answer_testing/framework.py
--- a/yt/utilities/answer_testing/framework.py
+++ b/yt/utilities/answer_testing/framework.py
@@ -405,7 +405,7 @@
             oname = "_".join((str(s) for s in obj_type))
         args = [self._type_name, str(self.ds), oname]
         args += [str(getattr(self, an)) for an in self._attrs]
-        return "_".join(args)
+        return "_".join(args).replace('.', '_')
 
 class FieldValuesTest(AnswerTestingTest):
     _type_name = "FieldValues"


https://bitbucket.org/yt_analysis/yt/commits/62d0cb55a972/
Changeset:   62d0cb55a972
Branch:      yt
User:        xarthisius
Date:        2016-11-30 15:42:26+00:00
Summary:     Bump answers due to name changes
Affected #:  1 file

diff -r 4fbd3e1fc06229927ab88a60fe4ced36b5abbe00 -r 62d0cb55a972459b5e93ea14a44ce5f00473e84e tests/tests.yaml
--- a/tests/tests.yaml
+++ b/tests/tests.yaml
@@ -2,31 +2,31 @@
   local_artio_000:
     - yt/frontends/artio/tests/test_outputs.py
 
-  local_athena_001:
+  local_athena_002:
     - yt/frontends/athena
 
-  local_chombo_001:
+  local_chombo_002:
     - yt/frontends/chombo/tests/test_outputs.py
 
-  local_enzo_002:
+  local_enzo_003:
     - yt/frontends/enzo
 
-  local_fits_000:
+  local_fits_001:
     - yt/frontends/fits/tests/test_outputs.py
 
   local_flash_003:
     - yt/frontends/flash/tests/test_outputs.py
 
-  local_gadget_000:
+  local_gadget_001:
     - yt/frontends/gadget/tests/test_outputs.py
 
-  local_gamer_001:
+  local_gamer_002:
     - yt/frontends/gamer/tests/test_outputs.py
 
-  local_gdf_000:
+  local_gdf_001:
     - yt/frontends/gdf/tests/test_outputs.py
 
-  local_gizmo_001:
+  local_gizmo_002:
     - yt/frontends/gizmo/tests/test_outputs.py
 
   local_halos_000:
@@ -36,7 +36,7 @@
     - yt/frontends/gadget_fof/tests/test_outputs.py:test_fields_g5
     - yt/frontends/gadget_fof/tests/test_outputs.py:test_fields_g42
 
-  local_owls_000:
+  local_owls_001:
     - yt/frontends/owls/tests/test_outputs.py
 
   local_pw_011:
@@ -47,10 +47,10 @@
     - yt/visualization/tests/test_particle_plot.py:test_particle_projection_filter
     - yt/visualization/tests/test_particle_plot.py:test_particle_phase_answers
 
-  local_tipsy_001:
+  local_tipsy_002:
     - yt/frontends/tipsy/tests/test_outputs.py
 
-  local_varia_006:
+  local_varia_007:
     - yt/analysis_modules/radmc3d_export
     - yt/frontends/moab/tests/test_c5.py
     - yt/analysis_modules/photon_simulator/tests/test_spectra.py
@@ -59,10 +59,10 @@
     - yt/visualization/volume_rendering/tests/test_mesh_render.py
     - yt/visualization/tests/test_mesh_slices.py:test_tri2
 
-  local_orion_000:
+  local_orion_001:
     - yt/frontends/boxlib/tests/test_orion.py
 
-  local_ramses_000:
+  local_ramses_001:
     - yt/frontends/ramses/tests/test_outputs.py
 
   local_ytdata_001:


https://bitbucket.org/yt_analysis/yt/commits/3806d1ab21b1/
Changeset:   3806d1ab21b1
Branch:      yt
User:        xarthisius
Date:        2016-11-30 17:33:52+00:00
Summary:     More updates
Affected #:  1 file

diff -r 62d0cb55a972459b5e93ea14a44ce5f00473e84e -r 3806d1ab21b149dba7de1649480ebffa4034576e tests/tests.yaml
--- a/tests/tests.yaml
+++ b/tests/tests.yaml
@@ -1,5 +1,5 @@
 answer_tests:
-  local_artio_000:
+  local_artio_001:
     - yt/frontends/artio/tests/test_outputs.py
 
   local_athena_002:
@@ -14,7 +14,7 @@
   local_fits_001:
     - yt/frontends/fits/tests/test_outputs.py
 
-  local_flash_003:
+  local_flash_004:
     - yt/frontends/flash/tests/test_outputs.py
 
   local_gadget_001:
@@ -29,7 +29,7 @@
   local_gizmo_002:
     - yt/frontends/gizmo/tests/test_outputs.py
 
-  local_halos_000:
+  local_halos_001:
     - yt/analysis_modules/halo_analysis/tests/test_halo_finders.py  # [py2]
     - yt/analysis_modules/halo_finding/tests/test_rockstar.py  # [py2]
     - yt/frontends/owls_subfind/tests/test_outputs.py


https://bitbucket.org/yt_analysis/yt/commits/38fa10670bde/
Changeset:   38fa10670bde
Branch:      yt
User:        xarthisius
Date:        2016-11-30 17:45:16+00:00
Summary:     More updates
Affected #:  1 file

diff -r 3806d1ab21b149dba7de1649480ebffa4034576e -r 38fa10670bdeb967a9be3929b19fd1f4c87ea02a tests/tests.yaml
--- a/tests/tests.yaml
+++ b/tests/tests.yaml
@@ -39,7 +39,7 @@
   local_owls_001:
     - yt/frontends/owls/tests/test_outputs.py
 
-  local_pw_011:
+  local_pw_012:
     - yt/visualization/tests/test_plotwindow.py:test_attributes
     - yt/visualization/tests/test_plotwindow.py:test_attributes_wt
     - yt/visualization/tests/test_profile_plots.py:test_phase_plot_attributes


https://bitbucket.org/yt_analysis/yt/commits/214692e071c0/
Changeset:   214692e071c0
Branch:      yt
User:        xarthisius
Date:        2016-11-30 18:58:36+00:00
Summary:     More answer bumps
Affected #:  1 file

diff -r 38fa10670bdeb967a9be3929b19fd1f4c87ea02a -r 214692e071c0ff4ab507d08401dac6ee00dc897d tests/tests.yaml
--- a/tests/tests.yaml
+++ b/tests/tests.yaml
@@ -65,7 +65,7 @@
   local_ramses_001:
     - yt/frontends/ramses/tests/test_outputs.py
 
-  local_ytdata_001:
+  local_ytdata_002:
     - yt/frontends/ytdata
 
   local_absorption_spectrum_005:


https://bitbucket.org/yt_analysis/yt/commits/9bef886f307a/
Changeset:   9bef886f307a
Branch:      yt
User:        xarthisius
Date:        2016-12-01 15:50:25+00:00
Summary:     Use less verbose numpy print options for tests
Affected #:  1 file

diff -r 214692e071c0ff4ab507d08401dac6ee00dc897d -r 9bef886f307a035582607d70eac43f78c9e648ec tests/nose_runner.py
--- a/tests/nose_runner.py
+++ b/tests/nose_runner.py
@@ -6,6 +6,8 @@
 from yt.extern.six import StringIO
 from yt.config import ytcfg
 from yt.utilities.answer_testing.framework import AnswerTesting
+import numpy
+numpy.set_printoptions(threshold=5, edgeitems=1, precision=4)
 
 class NoseWorker(multiprocessing.Process):
 


https://bitbucket.org/yt_analysis/yt/commits/00e84c8e7bfa/
Changeset:   00e84c8e7bfa
Branch:      yt
User:        jzuhone
Date:        2016-12-05 18:51:29+00:00
Summary:     Merged in xarthisius/yt (pull request #2451)

Small fixes for nose test naming.
Affected #:  3 files

diff -r f44f95b80a147984d9bbce2c2c687178c13145d0 -r 00e84c8e7bfa68ca8bb45a8ec4331acfe5c8d2a1 tests/nose_runner.py
--- a/tests/nose_runner.py
+++ b/tests/nose_runner.py
@@ -6,6 +6,8 @@
 from yt.extern.six import StringIO
 from yt.config import ytcfg
 from yt.utilities.answer_testing.framework import AnswerTesting
+import numpy
+numpy.set_printoptions(threshold=5, edgeitems=1, precision=4)
 
 class NoseWorker(multiprocessing.Process):
 
@@ -67,7 +69,7 @@
                       if DROP_TAG not in line])
     tests = yaml.load(data)
 
-    base_argv = ['--local-dir=%s' % answers_dir, '-v',
+    base_argv = ['--local-dir=%s' % answers_dir,
                  '--with-answer-testing', '--answer-big-data', '--local']
     args = []
 

diff -r f44f95b80a147984d9bbce2c2c687178c13145d0 -r 00e84c8e7bfa68ca8bb45a8ec4331acfe5c8d2a1 tests/tests.yaml
--- a/tests/tests.yaml
+++ b/tests/tests.yaml
@@ -1,45 +1,45 @@
 answer_tests:
-  local_artio_000:
+  local_artio_001:
     - yt/frontends/artio/tests/test_outputs.py
 
-  local_athena_001:
+  local_athena_002:
     - yt/frontends/athena
 
-  local_chombo_001:
+  local_chombo_002:
     - yt/frontends/chombo/tests/test_outputs.py
 
-  local_enzo_002:
+  local_enzo_003:
     - yt/frontends/enzo
 
-  local_fits_000:
+  local_fits_001:
     - yt/frontends/fits/tests/test_outputs.py
 
-  local_flash_003:
+  local_flash_004:
     - yt/frontends/flash/tests/test_outputs.py
 
-  local_gadget_000:
+  local_gadget_001:
     - yt/frontends/gadget/tests/test_outputs.py
 
-  local_gamer_001:
+  local_gamer_002:
     - yt/frontends/gamer/tests/test_outputs.py
 
-  local_gdf_000:
+  local_gdf_001:
     - yt/frontends/gdf/tests/test_outputs.py
 
-  local_gizmo_001:
+  local_gizmo_002:
     - yt/frontends/gizmo/tests/test_outputs.py
 
-  local_halos_000:
+  local_halos_001:
     - yt/analysis_modules/halo_analysis/tests/test_halo_finders.py  # [py2]
     - yt/analysis_modules/halo_finding/tests/test_rockstar.py  # [py2]
     - yt/frontends/owls_subfind/tests/test_outputs.py
     - yt/frontends/gadget_fof/tests/test_outputs.py:test_fields_g5
     - yt/frontends/gadget_fof/tests/test_outputs.py:test_fields_g42
 
-  local_owls_000:
+  local_owls_001:
     - yt/frontends/owls/tests/test_outputs.py
 
-  local_pw_011:
+  local_pw_012:
     - yt/visualization/tests/test_plotwindow.py:test_attributes
     - yt/visualization/tests/test_plotwindow.py:test_attributes_wt
     - yt/visualization/tests/test_profile_plots.py:test_phase_plot_attributes
@@ -47,10 +47,10 @@
     - yt/visualization/tests/test_particle_plot.py:test_particle_projection_filter
     - yt/visualization/tests/test_particle_plot.py:test_particle_phase_answers
 
-  local_tipsy_001:
+  local_tipsy_002:
     - yt/frontends/tipsy/tests/test_outputs.py
 
-  local_varia_006:
+  local_varia_007:
     - yt/analysis_modules/radmc3d_export
     - yt/frontends/moab/tests/test_c5.py
     - yt/analysis_modules/photon_simulator/tests/test_spectra.py
@@ -59,13 +59,13 @@
     - yt/visualization/volume_rendering/tests/test_mesh_render.py
     - yt/visualization/tests/test_mesh_slices.py:test_tri2
 
-  local_orion_000:
+  local_orion_001:
     - yt/frontends/boxlib/tests/test_orion.py
 
-  local_ramses_000:
+  local_ramses_001:
     - yt/frontends/ramses/tests/test_outputs.py
 
-  local_ytdata_001:
+  local_ytdata_002:
     - yt/frontends/ytdata
 
   local_absorption_spectrum_005:
@@ -81,8 +81,6 @@
 
 other_tests:
   unittests:
-     - '-v'
      - '--exclude=test_mesh_slices'  # disable randomly failing test
   cookbook:
-     - '-v'
      - 'doc/source/cookbook/tests/test_cookbook.py'

diff -r f44f95b80a147984d9bbce2c2c687178c13145d0 -r 00e84c8e7bfa68ca8bb45a8ec4331acfe5c8d2a1 yt/utilities/answer_testing/framework.py
--- a/yt/utilities/answer_testing/framework.py
+++ b/yt/utilities/answer_testing/framework.py
@@ -405,7 +405,7 @@
             oname = "_".join((str(s) for s in obj_type))
         args = [self._type_name, str(self.ds), oname]
         args += [str(getattr(self, an)) for an in self._attrs]
-        return "_".join(args)
+        return "_".join(args).replace('.', '_')
 
 class FieldValuesTest(AnswerTestingTest):
     _type_name = "FieldValues"

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