[yt-svn] commit/yt: jzuhone: Merged in xarthisius/yt (pull request #2451)
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Mon Dec 5 10:51:55 PST 2016
1 new commit in yt:
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