Skip to content

Instantly share code, notes, and snippets.

@bsipocz
Last active August 29, 2015 14:13
Show Gist options
  • Save bsipocz/39381d726a12e764bc37 to your computer and use it in GitHub Desktop.
Save bsipocz/39381d726a12e764bc37 to your computer and use it in GitHub Desktop.
test_highlevel_api_remote fail
============================= test session starts ==============================
platform linux2 -- Python 2.7.8 -- pytest-2.5.1
Running tests with Astropy version 1.0.dev11448.
Running tests in astropy /home/bsipocz/devel/astropy/docs.
Platform: Linux-2.6.18-400.1.1.el5-x86_64-with-redhat-5.11-Tikanga
Executable: /data/apm36_a/wts/pipeline64/bsipocz/bin/python
Full Python Version:
2.7.8 (default, Nov 18 2014, 11:18:05)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-55)]
encodings: sys: ascii, locale: UTF-8, filesystem: UTF-8, unicode bits: 15
byteorder: little
float info: dig: 15, mant_dig: 15
Numpy: 1.9.1
Scipy: 0.14.0
Matplotlib: 1.4.2
h5py: not available
Using Astropy options: remote_data.
collected 8539 items / 7 skipped
astropy/analytic_functions/tests/test_blackbody.py ....
astropy/config/configuration.py .
astropy/config/tests/test_configs.py ...............
astropy/constants/__init__.py .
astropy/constants/tests/test_constant.py ..............
astropy/constants/tests/test_pickle.py xxxxxxxxx
astropy/convolution/kernels.py ...
astropy/convolution/tests/test_convolve.py ...............................................................................................................
astropy/convolution/tests/test_convolve_fft.py ...................................................................................................................................................................................................................................................................................................................................................
astropy/convolution/tests/test_convolve_kernels.py ..............................................................
astropy/convolution/tests/test_discretize.py ...s...........s...............
astropy/convolution/tests/test_kernel_class.py ............................................................................................................................................................................
astropy/convolution/tests/test_pickle.py .xx.xx.xx
astropy/coordinates/angles.py ..
astropy/coordinates/baseframe.py .
astropy/coordinates/sky_coordinate.py ..
astropy/coordinates/tests/test_angles.py ..........................................................................
astropy/coordinates/tests/test_angular_separation.py ....
astropy/coordinates/tests/test_api_ape5.py ....F
astropy/coordinates/tests/test_arrays.py ..........................
astropy/coordinates/tests/test_distance.py .........
astropy/coordinates/tests/test_earth.py ........................
astropy/coordinates/tests/test_formatting.py ....................
astropy/coordinates/tests/test_frames.py .....................
astropy/coordinates/tests/test_funcs.py .
astropy/coordinates/tests/test_iau_fullstack.py ....................................................xxx
astropy/coordinates/tests/test_matching.py .....
astropy/coordinates/tests/test_name_resolve.py F..F..
astropy/coordinates/tests/test_pickle.py ....xx.x...xx.x...xx.x.
astropy/coordinates/tests/test_representation.py .............................................................................
astropy/coordinates/tests/test_sky_coord.py .......................................................................................................................................................................................................................................................................................................................................................................................x...........
astropy/coordinates/tests/test_transformations.py ......................
astropy/coordinates/tests/accuracy/test_fk4_no_e_fk4.py .
astropy/coordinates/tests/accuracy/test_fk4_no_e_fk5.py .
astropy/coordinates/tests/accuracy/test_galactic_fk4.py .
astropy/coordinates/tests/accuracy/test_icrs_fk5.py .
astropy/coordinates/tests/accuracy/test_pytpm_examples.py ..x
astropy/cosmology/tests/test_cosmology.py ...................................
astropy/cosmology/tests/test_pickle.py ...
astropy/erfa/tests/test_erfa.py .....
astropy/io/ascii/daophot.py .
astropy/io/ascii/ipac.py .
astropy/io/ascii/tests/test_c_reader.py ...........................x................x.......x.x.............
astropy/io/ascii/tests/test_cds_header_from_readme.py ...
astropy/io/ascii/tests/test_compressed.py .....
astropy/io/ascii/tests/test_connect.py ........................
astropy/io/ascii/tests/test_fixedwidth.py ............................................................
astropy/io/ascii/tests/test_html.py ........s.......
astropy/io/ascii/tests/test_ipac_definitions.py ........................................
astropy/io/ascii/tests/test_read.py ................................................................................................................................................................................................
astropy/io/ascii/tests/test_types.py ......
astropy/io/ascii/tests/test_write.py ..........................
astropy/io/fits/diff.py .
astropy/io/fits/util.py .
astropy/io/fits/tests/test_checksum.py ....................
astropy/io/fits/tests/test_connect.py .........................
astropy/io/fits/tests/test_core.py .......................................................
astropy/io/fits/tests/test_diff.py ..................................
astropy/io/fits/tests/test_division.py .....
astropy/io/fits/tests/test_groups.py .......
astropy/io/fits/tests/test_hdulist.py .........................................
astropy/io/fits/tests/test_header.py ............................................................................................................................................
astropy/io/fits/tests/test_image.py ....................................................
astropy/io/fits/tests/test_nonstandard.py ...
astropy/io/fits/tests/test_structured.py .
astropy/io/fits/tests/test_table.py ...............................................................
astropy/io/fits/tests/test_uint.py ........
astropy/io/fits/tests/test_util.py .
astropy/io/misc/tests/test_hdf5.py sssssssssssssssssssssssssssssssssssssss
astropy/io/misc/tests/test_pickle_helpers.py ....
astropy/io/tests/test_registry.py ............................................................
astropy/io/votable/tests/converter_test.py ............................................
astropy/io/votable/tests/exception_test.py ..
astropy/io/votable/tests/table_test.py ..............
astropy/io/votable/tests/tree_test.py ...
astropy/io/votable/tests/ucd_test.py ..........
astropy/io/votable/tests/util_test.py ......................
astropy/io/votable/tests/vo_test.py ................................................................................................................................................................................................................................................................................................................................
astropy/modeling/_compound_deprecated.py ..
astropy/modeling/core.py ....
astropy/modeling/functional_models.py .
astropy/modeling/utils.py .
astropy/modeling/tests/test_compound.py .........................................
astropy/modeling/tests/test_constraints.py .....................
astropy/modeling/tests/test_core.py ........
astropy/modeling/tests/test_fitters.py ...................
astropy/modeling/tests/test_functional_models.py .........
astropy/modeling/tests/test_input.py ......................................................
astropy/modeling/tests/test_models.py ......................................................s..s......s.................................ss.ssssss....
astropy/modeling/tests/test_parameters.py .....................................................
astropy/modeling/tests/test_polynomial.py .................
astropy/modeling/tests/test_projections.py ...................
astropy/modeling/tests/test_rotations.py .....
astropy/modeling/tests/test_utils.py ..
astropy/nddata/utils.py ...
astropy/nddata/tests/test_decorators.py ..........
astropy/nddata/tests/test_flag_collection.py ....................
astropy/nddata/tests/test_nddata.py ..................................................................
astropy/nddata/tests/test_nddata_base.py .
astropy/nddata/tests/test_utils.py .........
astropy/stats/funcs.py ....
astropy/stats/sigma_clipping.py .
astropy/stats/tests/test_funcs.py .............
astropy/stats/tests/test_sigma_clipping.py ...
astropy/table/np_utils.py ..
astropy/table/operations.py ..
astropy/table/row.py .
astropy/table/table.py ............
astropy/table/table_helpers.py .
astropy/table/tests/test_column.py ....................................................................................................................................................
astropy/table/tests/test_groups.py ........................................
astropy/table/tests/test_init_table.py ......................................................................................................................................................................................................................................................................................................
astropy/table/tests/test_item_access.py ........................................................
astropy/table/tests/test_jsviewer.py .
astropy/table/tests/test_masked.py ..................................................................
astropy/table/tests/test_np_utils.py .
astropy/table/tests/test_operations.py ......................................................................
astropy/table/tests/test_pickle.py ............
astropy/table/tests/test_pprint.py ....................................................................................................
astropy/table/tests/test_row.py ..............................................................
astropy/table/tests/test_subclass.py ....
astropy/table/tests/test_table.py .......................................................................................................................................................................................................................................................................................x..............................................................................................................................................................................................................................................................................................................x.......................
astropy/tests/test_logger.py ............................
astropy/tests/tests/test_imports.py ..
astropy/tests/tests/test_open_file_detection.py .
astropy/tests/tests/test_quantity_helpers.py .
astropy/tests/tests/test_run_tests.py ........
astropy/tests/tests/test_skip_remote_data.py .
astropy/tests/tests/test_socketblocker.py ...
astropy/time/core.py ..
astropy/time/tests/test_basic.py ...........................x......................................x...........
astropy/time/tests/test_comparisons.py ...
astropy/time/tests/test_delta.py ................................................................................
astropy/time/tests/test_guess.py ....
astropy/time/tests/test_pickle.py .
astropy/time/tests/test_precision.py .......x..
astropy/time/tests/test_quantity_interaction.py ............
astropy/time/tests/test_sidereal.py ...................
astropy/time/tests/test_ut1.py ...s
astropy/units/cds.py .
astropy/units/core.py ....
astropy/units/equivalencies.py ....
astropy/units/imperial.py .
astropy/units/format/console.py .
astropy/units/format/unicode_format.py .
astropy/units/tests/test_equivalencies.py ..................................................
astropy/units/tests/test_format.py ..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
astropy/units/tests/test_physical.py ......................
astropy/units/tests/test_quantity.py ....................................................................
astropy/units/tests/test_quantity_array_methods.py .............................x............x.x.............
astropy/units/tests/test_quantity_decorator.py sssssssssssss...............
astropy/units/tests/test_quantity_non_ufuncs.py xx
astropy/units/tests/test_quantity_ufuncs.py ........................................ss.................................................................................................................
astropy/units/tests/test_units.py ............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
astropy/utils/decorators.py ..
astropy/utils/introspection.py .
astropy/utils/misc.py ..
astropy/utils/timer.py .
astropy/utils/iers/iers.py .
astropy/utils/iers/tests/test_iers.py .s
astropy/utils/tests/test_codegen.py .
astropy/utils/tests/test_collections.py .....
astropy/utils/tests/test_compat.py .
astropy/utils/tests/test_console.py ..................................................
astropy/utils/tests/test_data.py ........................................
astropy/utils/tests/test_decorators.py .......
astropy/utils/tests/test_gzip.py ss
astropy/utils/tests/test_introspection.py ....
astropy/utils/tests/test_metadata.py ...............
astropy/utils/tests/test_misc.py .....
astropy/utils/tests/test_odict.py sssssssssssssssssssssssssssssssssssssssssss
astropy/utils/tests/test_state.py ..
astropy/utils/tests/test_timer.py .
astropy/utils/tests/test_xml.py ........
astropy/visualization/scripts/tests/test_fits2bitmap.py ..
astropy/visualization/tests/test_interval.py .................
astropy/visualization/tests/test_norm.py s.....
astropy/visualization/tests/test_stretch.py ...................................................................................................
astropy/visualization/tests/test_ui.py ......
astropy/vo/client/tests/test_conesearch.py .................x.
astropy/vo/client/tests/test_vos_catalog.py ...............
astropy/vo/samp/tests/test_client.py ....
astropy/vo/samp/tests/test_errors.py ...
astropy/vo/samp/tests/test_hub.py ..
astropy/vo/samp/tests/test_hub_proxy.py .....
astropy/vo/samp/tests/test_hub_script.py .
astropy/vo/samp/tests/test_standard_profile.py .XX
astropy/vo/samp/tests/test_web_profile.py X.
astropy/vo/validator/tests/test_inpect.py ....
astropy/vo/validator/tests/test_validate.py ...
astropy/wcs/wcs.py .
astropy/wcs/tests/test_pickle.py ......
astropy/wcs/tests/test_profiling.py ..................................
astropy/wcs/tests/test_utils.py ..........................................
astropy/wcs/tests/test_wcs.py ......................................................................................................................................
astropy/wcs/tests/test_wcsprm.py ...........................................................................................x......
astropy/wcs/tests/extension/test_extension.py .
../../../home/bsipocz/devel/astropy/docs/changelog.rst .
../../../home/bsipocz/devel/astropy/docs/credits.rst .
../../../home/bsipocz/devel/astropy/docs/getting_started.rst .
../../../home/bsipocz/devel/astropy/docs/index.rst .
../../../home/bsipocz/devel/astropy/docs/install.rst .
../../../home/bsipocz/devel/astropy/docs/known_issues.rst .
../../../home/bsipocz/devel/astropy/docs/license.rst .
../../../home/bsipocz/devel/astropy/docs/logging.rst .
../../../home/bsipocz/devel/astropy/docs/overview.rst .
../../../home/bsipocz/devel/astropy/docs/stability.rst .
../../../home/bsipocz/devel/astropy/docs/warnings.rst .
../../../home/bsipocz/devel/astropy/docs/analytic_functions/index.rst .
../../../home/bsipocz/devel/astropy/docs/config/config_0_4_transition.rst .
../../../home/bsipocz/devel/astropy/docs/config/index.rst .
../../../home/bsipocz/devel/astropy/docs/constants/index.rst .
../../../home/bsipocz/devel/astropy/docs/convolution/index.rst .
../../../home/bsipocz/devel/astropy/docs/convolution/kernels.rst .
../../../home/bsipocz/devel/astropy/docs/convolution/using.rst .
../../../home/bsipocz/devel/astropy/docs/coordinates/angles.rst .
../../../home/bsipocz/devel/astropy/docs/coordinates/definitions.rst .
../../../home/bsipocz/devel/astropy/docs/coordinates/formatting.rst .
../../../home/bsipocz/devel/astropy/docs/coordinates/frames.rst .
../../../home/bsipocz/devel/astropy/docs/coordinates/index.rst F
../../../home/bsipocz/devel/astropy/docs/coordinates/matchsep.rst .
../../../home/bsipocz/devel/astropy/docs/coordinates/observing-example.rst .
../../../home/bsipocz/devel/astropy/docs/coordinates/representations.rst .
../../../home/bsipocz/devel/astropy/docs/coordinates/sgr-example.rst .
../../../home/bsipocz/devel/astropy/docs/coordinates/skycoord.rst .
../../../home/bsipocz/devel/astropy/docs/coordinates/transforming.rst .
../../../home/bsipocz/devel/astropy/docs/cosmology/index.rst .
../../../home/bsipocz/devel/astropy/docs/development/affiliated-packages.rst .
../../../home/bsipocz/devel/astropy/docs/development/building.rst .
../../../home/bsipocz/devel/astropy/docs/development/ccython.rst .
../../../home/bsipocz/devel/astropy/docs/development/codeguide.rst .
../../../home/bsipocz/devel/astropy/docs/development/codeguide_emacs.rst .
../../../home/bsipocz/devel/astropy/docs/development/docguide.rst .
../../../home/bsipocz/devel/astropy/docs/development/docrules.rst .
../../../home/bsipocz/devel/astropy/docs/development/releasing.rst .
../../../home/bsipocz/devel/astropy/docs/development/scripts.rst .
../../../home/bsipocz/devel/astropy/docs/development/testguide.rst .
../../../home/bsipocz/devel/astropy/docs/development/vision.rst .
../../../home/bsipocz/devel/astropy/docs/development/workflow/additional_git_topics.rst .
../../../home/bsipocz/devel/astropy/docs/development/workflow/command_history.rst .
../../../home/bsipocz/devel/astropy/docs/development/workflow/development_workflow.rst .
../../../home/bsipocz/devel/astropy/docs/development/workflow/get_devel_version.rst .
../../../home/bsipocz/devel/astropy/docs/development/workflow/git_edit_workflow_examples.rst .
../../../home/bsipocz/devel/astropy/docs/development/workflow/git_install.rst .
../../../home/bsipocz/devel/astropy/docs/development/workflow/git_resources.rst .
../../../home/bsipocz/devel/astropy/docs/development/workflow/maintainer_workflow.rst .
../../../home/bsipocz/devel/astropy/docs/development/workflow/patches.rst .
../../../home/bsipocz/devel/astropy/docs/development/workflow/terminal_cast.rst .
../../../home/bsipocz/devel/astropy/docs/development/workflow/virtual_pythons.rst .
../../../home/bsipocz/devel/astropy/docs/development/workflow/virtualenv_detail.rst .
../../../home/bsipocz/devel/astropy/docs/io/misc.rst .
../../../home/bsipocz/devel/astropy/docs/io/registry.rst .
../../../home/bsipocz/devel/astropy/docs/io/unified.rst .
../../../home/bsipocz/devel/astropy/docs/io/ascii/base_classes.rst .
../../../home/bsipocz/devel/astropy/docs/io/ascii/extension_classes.rst .
../../../home/bsipocz/devel/astropy/docs/io/ascii/fast_ascii_io.rst .
../../../home/bsipocz/devel/astropy/docs/io/ascii/fixed_width_gallery.rst .
../../../home/bsipocz/devel/astropy/docs/io/ascii/index.rst .
../../../home/bsipocz/devel/astropy/docs/io/ascii/read.rst .
../../../home/bsipocz/devel/astropy/docs/io/ascii/write.rst .
../../../home/bsipocz/devel/astropy/docs/io/fits/index.rst .
../../../home/bsipocz/devel/astropy/docs/io/fits/appendix/faq.rst .
../../../home/bsipocz/devel/astropy/docs/io/fits/appendix/header_transition.rst .
../../../home/bsipocz/devel/astropy/docs/io/fits/appendix/history.rst .
../../../home/bsipocz/devel/astropy/docs/io/fits/usage/examples.rst .
../../../home/bsipocz/devel/astropy/docs/io/fits/usage/headers.rst .
../../../home/bsipocz/devel/astropy/docs/io/fits/usage/image.rst .
../../../home/bsipocz/devel/astropy/docs/io/fits/usage/misc.rst .
../../../home/bsipocz/devel/astropy/docs/io/fits/usage/scripts.rst .
../../../home/bsipocz/devel/astropy/docs/io/fits/usage/table.rst .
../../../home/bsipocz/devel/astropy/docs/io/fits/usage/unfamiliar.rst .
../../../home/bsipocz/devel/astropy/docs/io/fits/usage/verification.rst .
../../../home/bsipocz/devel/astropy/docs/io/votable/api_exceptions.rst .
../../../home/bsipocz/devel/astropy/docs/io/votable/index.rst .
../../../home/bsipocz/devel/astropy/docs/modeling/algorithms.rst .
../../../home/bsipocz/devel/astropy/docs/modeling/compound-models.rst .
../../../home/bsipocz/devel/astropy/docs/modeling/fitting.rst .
../../../home/bsipocz/devel/astropy/docs/modeling/index.rst .
../../../home/bsipocz/devel/astropy/docs/modeling/models.rst .
../../../home/bsipocz/devel/astropy/docs/modeling/new.rst .
../../../home/bsipocz/devel/astropy/docs/modeling/parameters.rst .
../../../home/bsipocz/devel/astropy/docs/nddata/decorator.rst .
../../../home/bsipocz/devel/astropy/docs/nddata/index.rst .
../../../home/bsipocz/devel/astropy/docs/nddata/nddata.rst .
../../../home/bsipocz/devel/astropy/docs/nddata/subclassing.rst .
../../../home/bsipocz/devel/astropy/docs/nddata/mixins/index.rst .
../../../home/bsipocz/devel/astropy/docs/nddata/mixins/ndarithmetic.rst .
../../../home/bsipocz/devel/astropy/docs/nddata/mixins/ndio.rst .
../../../home/bsipocz/devel/astropy/docs/nddata/mixins/ndslicing.rst .
../../../home/bsipocz/devel/astropy/docs/stats/index.rst .
../../../home/bsipocz/devel/astropy/docs/table/access_table.rst .
../../../home/bsipocz/devel/astropy/docs/table/construct_table.rst .
../../../home/bsipocz/devel/astropy/docs/table/implementation_change_1.0.rst .
../../../home/bsipocz/devel/astropy/docs/table/implementation_details.rst .
../../../home/bsipocz/devel/astropy/docs/table/index.rst .
../../../home/bsipocz/devel/astropy/docs/table/io.rst .
../../../home/bsipocz/devel/astropy/docs/table/masking.rst .
../../../home/bsipocz/devel/astropy/docs/table/modify_table.rst .
../../../home/bsipocz/devel/astropy/docs/table/operations.rst .
../../../home/bsipocz/devel/astropy/docs/time/index.rst .
../../../home/bsipocz/devel/astropy/docs/units/combining_and_defining.rst .
../../../home/bsipocz/devel/astropy/docs/units/conversion.rst .
../../../home/bsipocz/devel/astropy/docs/units/decomposing_and_composing.rst .
../../../home/bsipocz/devel/astropy/docs/units/equivalencies.rst .
../../../home/bsipocz/devel/astropy/docs/units/format.rst .
../../../home/bsipocz/devel/astropy/docs/units/index.rst .
../../../home/bsipocz/devel/astropy/docs/units/quantity.rst .
../../../home/bsipocz/devel/astropy/docs/units/standard_units.rst .
../../../home/bsipocz/devel/astropy/docs/utils/index.rst .
../../../home/bsipocz/devel/astropy/docs/utils/numpy.rst .
../../../home/bsipocz/devel/astropy/docs/visualization/index.rst .
../../../home/bsipocz/devel/astropy/docs/visualization/normalization.rst .
../../../home/bsipocz/devel/astropy/docs/vo/index.rst .
../../../home/bsipocz/devel/astropy/docs/vo/conesearch/client.rst .
../../../home/bsipocz/devel/astropy/docs/vo/conesearch/index.rst .
../../../home/bsipocz/devel/astropy/docs/vo/conesearch/validator.rst .
../../../home/bsipocz/devel/astropy/docs/vo/samp/advanced_embed_samp_hub.rst .
../../../home/bsipocz/devel/astropy/docs/vo/samp/example_clients.rst .
../../../home/bsipocz/devel/astropy/docs/vo/samp/example_hub.rst .
../../../home/bsipocz/devel/astropy/docs/vo/samp/example_table_image.rst .
../../../home/bsipocz/devel/astropy/docs/vo/samp/index.rst .
../../../home/bsipocz/devel/astropy/docs/wcs/history.rst .
../../../home/bsipocz/devel/astropy/docs/wcs/index.rst .
../../../home/bsipocz/devel/astropy/docs/wcs/relax.rst .
../../../home/bsipocz/devel/astropy/docs/whatsnew/0.1.rst .
../../../home/bsipocz/devel/astropy/docs/whatsnew/0.2.rst .
../../../home/bsipocz/devel/astropy/docs/whatsnew/0.3.rst .
../../../home/bsipocz/devel/astropy/docs/whatsnew/0.4.rst .
../../../home/bsipocz/devel/astropy/docs/whatsnew/index.rst .
=================================== FAILURES ===================================
__________________________ test_highlevel_api_remote ___________________________
@pytest.mark.remote_data
def test_highlevel_api_remote():
m31icrs = coords.SkyCoord.from_name('M31', frame='icrs')
> assert str(m31icrs) == '<SkyCoord (ICRS): ra=10.6847083 deg, dec=41.26875 deg>'
E assert '<SkyCoord (I...1.269065 deg>' == '<SkyCoord (IC...41.26875 deg>'
E - <SkyCoord (ICRS): ra=10.6847929 deg, dec=41.269065 deg>
E ? ^^^ ^^^
E + <SkyCoord (ICRS): ra=10.6847083 deg, dec=41.26875 deg>
E ? ^^^ ^^
astropy/coordinates/tests/test_api_ape5.py:441: AssertionError
__________________________________ test_names __________________________________
@remote_data
def test_names():
# First check that sesame is up
if urllib.request.urlopen("http://cdsweb.u-strasbg.fr/cgi-bin/nph-sesame").getcode() != 200:
pytest.skip("SESAME appears to be down, skipping test_name_resolve.py:test_names()...")
with pytest.raises(NameResolveError):
get_icrs_coordinates("m87h34hhh")
try:
icrs = get_icrs_coordinates("ngc 3642")
except NameResolveError:
ra, dec = _parse_response(_cached_ngc3642["all"])
icrs = SkyCoord(ra=float(ra)*u.degree, dec=float(dec)*u.degree)
icrs_true = SkyCoord(ra="11h 22m 18.014s", dec="59d 04m 27.27s")
> np.testing.assert_almost_equal(icrs.ra.degree, icrs_true.ra.degree, 3)
astropy/coordinates/tests/test_name_resolve.py:126:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
actual = 170.5745485, desired = 170.57505833333332, decimal = 3, err_msg = ''
verbose = True
def assert_almost_equal(actual,desired,decimal=7,err_msg='',verbose=True):
"""
Raises an AssertionError if two items are not equal up to desired
precision.
.. note:: It is recommended to use one of `assert_allclose`,
`assert_array_almost_equal_nulp` or `assert_array_max_ulp`
instead of this function for more consistent floating point
comparisons.
The test is equivalent to ``abs(desired-actual) < 0.5 * 10**(-decimal)``.
Given two objects (numbers or ndarrays), check that all elements of these
objects are almost equal. An exception is raised at conflicting values.
For ndarrays this delegates to assert_array_almost_equal
Parameters
----------
actual : array_like
The object to check.
desired : array_like
The expected object.
decimal : int, optional
Desired precision, default is 7.
err_msg : str, optional
The error message to be printed in case of failure.
verbose : bool, optional
If True, the conflicting values are appended to the error message.
Raises
------
AssertionError
If actual and desired are not equal up to specified precision.
See Also
--------
assert_allclose: Compare two array_like objects for equality with desired
relative and/or absolute precision.
assert_array_almost_equal_nulp, assert_array_max_ulp, assert_equal
Examples
--------
>>> import numpy.testing as npt
>>> npt.assert_almost_equal(2.3333333333333, 2.33333334)
>>> npt.assert_almost_equal(2.3333333333333, 2.33333334, decimal=10)
...
<type 'exceptions.AssertionError'>:
Items are not equal:
ACTUAL: 2.3333333333333002
DESIRED: 2.3333333399999998
>>> npt.assert_almost_equal(np.array([1.0,2.3333333333333]),
... np.array([1.0,2.33333334]), decimal=9)
...
<type 'exceptions.AssertionError'>:
Arrays are not almost equal
<BLANKLINE>
(mismatch 50.0%)
x: array([ 1. , 2.33333333])
y: array([ 1. , 2.33333334])
"""
from numpy.core import ndarray
from numpy.lib import iscomplexobj, real, imag
# Handle complex numbers: separate into real/imag to handle
# nan/inf/negative zero correctly
# XXX: catch ValueError for subclasses of ndarray where iscomplex fail
try:
usecomplex = iscomplexobj(actual) or iscomplexobj(desired)
except ValueError:
usecomplex = False
def _build_err_msg():
header = ('Arrays are not almost equal to %d decimals' % decimal)
return build_err_msg([actual, desired], err_msg, verbose=verbose,
header=header)
if usecomplex:
if iscomplexobj(actual):
actualr = real(actual)
actuali = imag(actual)
else:
actualr = actual
actuali = 0
if iscomplexobj(desired):
desiredr = real(desired)
desiredi = imag(desired)
else:
desiredr = desired
desiredi = 0
try:
assert_almost_equal(actualr, desiredr, decimal=decimal)
assert_almost_equal(actuali, desiredi, decimal=decimal)
except AssertionError:
raise AssertionError(_build_err_msg())
if isinstance(actual, (ndarray, tuple, list)) \
or isinstance(desired, (ndarray, tuple, list)):
return assert_array_almost_equal(actual, desired, decimal, err_msg)
try:
# If one of desired/actual is not finite, handle it specially here:
# check that both are nan if any is a nan, and test for equality
# otherwise
if not (gisfinite(desired) and gisfinite(actual)):
if gisnan(desired) or gisnan(actual):
if not (gisnan(desired) and gisnan(actual)):
raise AssertionError(_build_err_msg())
else:
if not desired == actual:
raise AssertionError(_build_err_msg())
return
except (NotImplementedError, TypeError):
pass
if round(abs(desired - actual), decimal) != 0 :
> raise AssertionError(_build_err_msg())
E AssertionError:
E Arrays are not almost equal to 3 decimals
E ACTUAL: 170.5745485
E DESIRED: 170.57505833333332
/data/apm36_a/wts/pipeline64/bsipocz/lib/python2.7/site-packages/numpy/testing/utils.py:490: AssertionError
__________________________________ test_names __________________________________
@remote_data
def test_names():
# First check that sesame is up
if urllib.request.urlopen("http://cdsweb.u-strasbg.fr/cgi-bin/nph-sesame").getcode() != 200:
pytest.skip("SESAME appears to be down, skipping test_name_resolve.py:test_names()...")
with pytest.raises(NameResolveError):
get_icrs_coordinates("m87h34hhh")
try:
icrs = get_icrs_coordinates("ngc 3642")
except NameResolveError:
ra, dec = _parse_response(_cached_ngc3642["all"])
icrs = SkyCoord(ra=float(ra)*u.degree, dec=float(dec)*u.degree)
icrs_true = SkyCoord(ra="11h 22m 18.014s", dec="59d 04m 27.27s")
> np.testing.assert_almost_equal(icrs.ra.degree, icrs_true.ra.degree, 3)
astropy/coordinates/tests/test_name_resolve.py:126:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
actual = 170.5745485, desired = 170.57505833333332, decimal = 3, err_msg = ''
verbose = True
def assert_almost_equal(actual,desired,decimal=7,err_msg='',verbose=True):
"""
Raises an AssertionError if two items are not equal up to desired
precision.
.. note:: It is recommended to use one of `assert_allclose`,
`assert_array_almost_equal_nulp` or `assert_array_max_ulp`
instead of this function for more consistent floating point
comparisons.
The test is equivalent to ``abs(desired-actual) < 0.5 * 10**(-decimal)``.
Given two objects (numbers or ndarrays), check that all elements of these
objects are almost equal. An exception is raised at conflicting values.
For ndarrays this delegates to assert_array_almost_equal
Parameters
----------
actual : array_like
The object to check.
desired : array_like
The expected object.
decimal : int, optional
Desired precision, default is 7.
err_msg : str, optional
The error message to be printed in case of failure.
verbose : bool, optional
If True, the conflicting values are appended to the error message.
Raises
------
AssertionError
If actual and desired are not equal up to specified precision.
See Also
--------
assert_allclose: Compare two array_like objects for equality with desired
relative and/or absolute precision.
assert_array_almost_equal_nulp, assert_array_max_ulp, assert_equal
Examples
--------
>>> import numpy.testing as npt
>>> npt.assert_almost_equal(2.3333333333333, 2.33333334)
>>> npt.assert_almost_equal(2.3333333333333, 2.33333334, decimal=10)
...
<type 'exceptions.AssertionError'>:
Items are not equal:
ACTUAL: 2.3333333333333002
DESIRED: 2.3333333399999998
>>> npt.assert_almost_equal(np.array([1.0,2.3333333333333]),
... np.array([1.0,2.33333334]), decimal=9)
...
<type 'exceptions.AssertionError'>:
Arrays are not almost equal
<BLANKLINE>
(mismatch 50.0%)
x: array([ 1. , 2.33333333])
y: array([ 1. , 2.33333334])
"""
from numpy.core import ndarray
from numpy.lib import iscomplexobj, real, imag
# Handle complex numbers: separate into real/imag to handle
# nan/inf/negative zero correctly
# XXX: catch ValueError for subclasses of ndarray where iscomplex fail
try:
usecomplex = iscomplexobj(actual) or iscomplexobj(desired)
except ValueError:
usecomplex = False
def _build_err_msg():
header = ('Arrays are not almost equal to %d decimals' % decimal)
return build_err_msg([actual, desired], err_msg, verbose=verbose,
header=header)
if usecomplex:
if iscomplexobj(actual):
actualr = real(actual)
actuali = imag(actual)
else:
actualr = actual
actuali = 0
if iscomplexobj(desired):
desiredr = real(desired)
desiredi = imag(desired)
else:
desiredr = desired
desiredi = 0
try:
assert_almost_equal(actualr, desiredr, decimal=decimal)
assert_almost_equal(actuali, desiredi, decimal=decimal)
except AssertionError:
raise AssertionError(_build_err_msg())
if isinstance(actual, (ndarray, tuple, list)) \
or isinstance(desired, (ndarray, tuple, list)):
return assert_array_almost_equal(actual, desired, decimal, err_msg)
try:
# If one of desired/actual is not finite, handle it specially here:
# check that both are nan if any is a nan, and test for equality
# otherwise
if not (gisfinite(desired) and gisfinite(actual)):
if gisnan(desired) or gisnan(actual):
if not (gisnan(desired) and gisnan(actual)):
raise AssertionError(_build_err_msg())
else:
if not desired == actual:
raise AssertionError(_build_err_msg())
return
except (NotImplementedError, TypeError):
pass
if round(abs(desired - actual), decimal) != 0 :
> raise AssertionError(_build_err_msg())
E AssertionError:
E Arrays are not almost equal to 3 decimals
E ACTUAL: 170.5745485
E DESIRED: 170.57505833333332
/data/apm36_a/wts/pipeline64/bsipocz/lib/python2.7/site-packages/numpy/testing/utils.py:490: AssertionError
_____________________________ [doctest] index.rst ______________________________
194 <Distance 1.5228602415117989 pc>
195
196
197 Finally, the `astropy.coordinates` subpackage also provides a quick way to get
198 coordinates for named objects assuming you have an active internet
199 connection. The `~astropy.coordinates.SkyCoord.from_name` method of |skycoord|
200 uses `Sesame <http://cds.u-strasbg.fr/cgi-bin/Sesame>`_ to retrieve coordinates
201 for a particular named object::
202
203 >>> SkyCoord.from_name("M42") # doctest: +REMOTE_DATA +FLOAT_CMP
Expected:
<SkyCoord (ICRS): ra=83.82208 deg, dec=-5.39111 deg>
Got:
<SkyCoord (ICRS): ra=83.8186621 deg, dec=-5.3896789 deg>
/home/bsipocz/devel/astropy/docs/coordinates/index.rst:203: DocTestFailure
= 4 failed, 8371 passed, 123 skipped, 45 xfailed, 3 xpassed in 633.19 seconds ==
bsipocz@apm36:~/devel/astropy$ python setup.py test -R
running test
running build
running build_py
running pre_hook from astropy.erfa.setup_package for build_py command
running build_ext
running pre_hook from astropy.erfa.setup_package for build_ext command
skipping 'astropy/table/_np_utils.c' Cython extension (up-to-date)
skipping 'astropy/erfa/core.c' Cython extension (up-to-date)
skipping 'astropy/io/ascii/cparser.c' Cython extension (up-to-date)
skipping 'astropy/convolution/boundary_wrap.c' Cython extension (up-to-date)
skipping 'astropy/convolution/boundary_extend.c' Cython extension (up-to-date)
skipping 'astropy/convolution/boundary_none.c' Cython extension (up-to-date)
skipping 'astropy/convolution/boundary_fill.c' Cython extension (up-to-date)
================================================= test session starts =================================================
platform linux2 -- Python 2.7.8 -- pytest-2.5.1
Running tests with Astropy version 1.0.dev11448.
Running tests in astropy /home/bsipocz/devel/astropy/docs.
Platform: Linux-2.6.18-400.1.1.el5-x86_64-with-redhat-5.11-Tikanga
Executable: /data/apm36_a/wts/pipeline64/bsipocz/bin/python
Full Python Version:
2.7.8 (default, Nov 18 2014, 11:18:05)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-55)]
encodings: sys: ascii, locale: UTF-8, filesystem: UTF-8, unicode bits: 15
byteorder: little
float info: dig: 15, mant_dig: 15
Numpy: 1.9.1
Scipy: 0.14.0
Matplotlib: 1.4.2
h5py: not available
Using Astropy options: remote_data.
collected 8539 items / 7 skipped
astropy/analytic_functions/tests/test_blackbody.py ....
astropy/config/configuration.py .
astropy/config/tests/test_configs.py ...............
astropy/constants/__init__.py .
astropy/constants/tests/test_constant.py ..............
astropy/constants/tests/test_pickle.py xxxxxxxxx
astropy/convolution/kernels.py ...
astropy/convolution/tests/test_convolve.py ...............................................................................................................
astropy/convolution/tests/test_convolve_fft.py ...................................................................................................................................................................................................................................................................................................................................................
astropy/convolution/tests/test_convolve_kernels.py ..............................................................
astropy/convolution/tests/test_discretize.py ...s...........s...............
astropy/convolution/tests/test_kernel_class.py ............................................................................................................................................................................
astropy/convolution/tests/test_pickle.py .xx.xx.xx
astropy/coordinates/angles.py ..
astropy/coordinates/baseframe.py .
astropy/coordinates/sky_coordinate.py ..
astropy/coordinates/tests/test_angles.py ..........................................................................
astropy/coordinates/tests/test_angular_separation.py ....
astropy/coordinates/tests/test_api_ape5.py ....F
astropy/coordinates/tests/test_arrays.py ..........................
astropy/coordinates/tests/test_distance.py .........
astropy/coordinates/tests/test_earth.py ........................
astropy/coordinates/tests/test_formatting.py ....................
astropy/coordinates/tests/test_frames.py .....................
astropy/coordinates/tests/test_funcs.py .
astropy/coordinates/tests/test_iau_fullstack.py ....................................................xxx
astropy/coordinates/tests/test_matching.py .....
astropy/coordinates/tests/test_name_resolve.py F..F..
astropy/coordinates/tests/test_pickle.py ....xx.x...xx.x...xx.x.
astropy/coordinates/tests/test_representation.py .............................................................................
astropy/coordinates/tests/test_sky_coord.py .......................................................................................................................................................................................................................................................................................................................................................................................x...........
astropy/coordinates/tests/test_transformations.py ......................
astropy/coordinates/tests/accuracy/test_fk4_no_e_fk4.py .
astropy/coordinates/tests/accuracy/test_fk4_no_e_fk5.py .
astropy/coordinates/tests/accuracy/test_galactic_fk4.py .
astropy/coordinates/tests/accuracy/test_icrs_fk5.py .
astropy/coordinates/tests/accuracy/test_pytpm_examples.py ..x
astropy/cosmology/tests/test_cosmology.py ...................................
astropy/cosmology/tests/test_pickle.py ...
astropy/erfa/tests/test_erfa.py .....
astropy/io/ascii/daophot.py .
astropy/io/ascii/ipac.py .
astropy/io/ascii/tests/test_c_reader.py ...........................x................x.......x.x.............
astropy/io/ascii/tests/test_cds_header_from_readme.py ...
astropy/io/ascii/tests/test_compressed.py .....
astropy/io/ascii/tests/test_connect.py ........................
astropy/io/ascii/tests/test_fixedwidth.py ............................................................
astropy/io/ascii/tests/test_html.py ........s.......
astropy/io/ascii/tests/test_ipac_definitions.py ........................................
astropy/io/ascii/tests/test_read.py ................................................................................................................................................................................................
astropy/io/ascii/tests/test_types.py ......
astropy/io/ascii/tests/test_write.py ..........................
astropy/io/fits/diff.py .
astropy/io/fits/util.py .
astropy/io/fits/tests/test_checksum.py ....................
astropy/io/fits/tests/test_connect.py .........................
astropy/io/fits/tests/test_core.py .......................................................
astropy/io/fits/tests/test_diff.py ..................................
astropy/io/fits/tests/test_division.py .....
astropy/io/fits/tests/test_groups.py .......
astropy/io/fits/tests/test_hdulist.py .........................................
astropy/io/fits/tests/test_header.py ............................................................................................................................................
astropy/io/fits/tests/test_image.py ....................................................
astropy/io/fits/tests/test_nonstandard.py ...
astropy/io/fits/tests/test_structured.py .
astropy/io/fits/tests/test_table.py ...............................................................
astropy/io/fits/tests/test_uint.py ........
astropy/io/fits/tests/test_util.py .
astropy/io/misc/tests/test_hdf5.py sssssssssssssssssssssssssssssssssssssss
astropy/io/misc/tests/test_pickle_helpers.py ....
astropy/io/tests/test_registry.py ............................................................
astropy/io/votable/tests/converter_test.py ............................................
astropy/io/votable/tests/exception_test.py ..
astropy/io/votable/tests/table_test.py ..............
astropy/io/votable/tests/tree_test.py ...
astropy/io/votable/tests/ucd_test.py ..........
astropy/io/votable/tests/util_test.py ......................
astropy/io/votable/tests/vo_test.py ................................................................................................................................................................................................................................................................................................................................
astropy/modeling/_compound_deprecated.py ..
astropy/modeling/core.py ....
astropy/modeling/functional_models.py .
astropy/modeling/utils.py .
astropy/modeling/tests/test_compound.py .........................................
astropy/modeling/tests/test_constraints.py .....................
astropy/modeling/tests/test_core.py ........
astropy/modeling/tests/test_fitters.py ...................
astropy/modeling/tests/test_functional_models.py .........
astropy/modeling/tests/test_input.py ......................................................
astropy/modeling/tests/test_models.py ........................................................s....s...s................................ssss.ssss....
astropy/modeling/tests/test_parameters.py .....................................................
astropy/modeling/tests/test_polynomial.py .................
astropy/modeling/tests/test_projections.py ...................
astropy/modeling/tests/test_rotations.py .....
astropy/modeling/tests/test_utils.py ..
astropy/nddata/utils.py ...
astropy/nddata/tests/test_decorators.py ..........
astropy/nddata/tests/test_flag_collection.py ....................
astropy/nddata/tests/test_nddata.py ..................................................................
astropy/nddata/tests/test_nddata_base.py .
astropy/nddata/tests/test_utils.py .........
astropy/stats/funcs.py ....
astropy/stats/sigma_clipping.py .
astropy/stats/tests/test_funcs.py .............
astropy/stats/tests/test_sigma_clipping.py ...
astropy/table/np_utils.py ..
astropy/table/operations.py ..
astropy/table/row.py .
astropy/table/table.py ............
astropy/table/table_helpers.py .
astropy/table/tests/test_column.py ....................................................................................................................................................
astropy/table/tests/test_groups.py ........................................
astropy/table/tests/test_init_table.py ......................................................................................................................................................................................................................................................................................................
astropy/table/tests/test_item_access.py ........................................................
astropy/table/tests/test_jsviewer.py .
astropy/table/tests/test_masked.py ..................................................................
astropy/table/tests/test_np_utils.py .
astropy/table/tests/test_operations.py ......................................................................
astropy/table/tests/test_pickle.py ............
astropy/table/tests/test_pprint.py ....................................................................................................
astropy/table/tests/test_row.py ..............................................................
astropy/table/tests/test_subclass.py ....
astropy/table/tests/test_table.py .......................................................................................................................................................................................................................................................................................x..............................................................................................................................................................................................................................................................................................................x.......................
astropy/tests/test_logger.py ............................
astropy/tests/tests/test_imports.py ..
astropy/tests/tests/test_open_file_detection.py .
astropy/tests/tests/test_quantity_helpers.py .
astropy/tests/tests/test_run_tests.py ........
astropy/tests/tests/test_skip_remote_data.py .
astropy/tests/tests/test_socketblocker.py ...
astropy/time/core.py ..
astropy/time/tests/test_basic.py ...........................x......................................x...........
astropy/time/tests/test_comparisons.py ...
astropy/time/tests/test_delta.py ................................................................................
astropy/time/tests/test_guess.py ....
astropy/time/tests/test_pickle.py .
astropy/time/tests/test_precision.py .......x..
astropy/time/tests/test_quantity_interaction.py ............
astropy/time/tests/test_sidereal.py ...................
astropy/time/tests/test_ut1.py ...s
astropy/units/cds.py .
astropy/units/core.py ....
astropy/units/equivalencies.py ....
astropy/units/imperial.py .
astropy/units/format/console.py .
astropy/units/format/unicode_format.py .
astropy/units/tests/test_equivalencies.py ..................................................
astropy/units/tests/test_format.py .........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................^[[A.
........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
astropy/units/tests/test_physical.py ......................
astropy/units/tests/test_quantity.py ....................................................................
astropy/units/tests/test_quantity_array_methods.py .............................x............x.x.............
astropy/units/tests/test_quantity_decorator.py sssssssssssss...............
astropy/units/tests/test_quantity_non_ufuncs.py xx
astropy/units/tests/test_quantity_ufuncs.py ........................................ss.................................................................................................................
astropy/units/tests/test_units.py ............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
astropy/utils/decorators.py ..
astropy/utils/introspection.py .
astropy/utils/misc.py ..
astropy/utils/timer.py .
astropy/utils/iers/iers.py .
astropy/utils/iers/tests/test_iers.py .s
astropy/utils/tests/test_codegen.py .
astropy/utils/tests/test_collections.py .....
astropy/utils/tests/test_compat.py .
astropy/utils/tests/test_console.py ..................................................
astropy/utils/tests/test_data.py ........................................
astropy/utils/tests/test_decorators.py .......
astropy/utils/tests/test_gzip.py ss
astropy/utils/tests/test_introspection.py ....
astropy/utils/tests/test_metadata.py ...............
astropy/utils/tests/test_misc.py .....
astropy/utils/tests/test_odict.py sssssssssssssssssssssssssssssssssssssssssss
astropy/utils/tests/test_state.py ..
astropy/utils/tests/test_timer.py .
astropy/utils/tests/test_xml.py ........
astropy/visualization/scripts/tests/test_fits2bitmap.py ..
astropy/visualization/tests/test_interval.py .................
astropy/visualization/tests/test_norm.py s.....
astropy/visualization/tests/test_stretch.py ...................................................................................................
astropy/visualization/tests/test_ui.py ......
astropy/vo/client/tests/test_conesearch.py .................x.
astropy/vo/client/tests/test_vos_catalog.py ...............
astropy/vo/samp/tests/test_client.py ....
astropy/vo/samp/tests/test_errors.py ...
astropy/vo/samp/tests/test_hub.py ..
astropy/vo/samp/tests/test_hub_proxy.py .....
astropy/vo/samp/tests/test_hub_script.py .
astropy/vo/samp/tests/test_standard_profile.py .XX
astropy/vo/samp/tests/test_web_profile.py X.
astropy/vo/validator/tests/test_inpect.py ....
astropy/vo/validator/tests/test_validate.py ...
astropy/wcs/wcs.py .
astropy/wcs/tests/test_pickle.py ......
astropy/wcs/tests/test_profiling.py ..................................
astropy/wcs/tests/test_utils.py ..........................................
astropy/wcs/tests/test_wcs.py ......................................................................................................................................
astropy/wcs/tests/test_wcsprm.py ...........................................................................................x......
astropy/wcs/tests/extension/test_extension.py .
../../../home/bsipocz/devel/astropy/docs/changelog.rst .
../../../home/bsipocz/devel/astropy/docs/credits.rst .
../../../home/bsipocz/devel/astropy/docs/getting_started.rst .
../../../home/bsipocz/devel/astropy/docs/index.rst .
../../../home/bsipocz/devel/astropy/docs/install.rst .
../../../home/bsipocz/devel/astropy/docs/known_issues.rst .
../../../home/bsipocz/devel/astropy/docs/license.rst .
../../../home/bsipocz/devel/astropy/docs/logging.rst .
../../../home/bsipocz/devel/astropy/docs/overview.rst .
../../../home/bsipocz/devel/astropy/docs/stability.rst .
../../../home/bsipocz/devel/astropy/docs/warnings.rst .
../../../home/bsipocz/devel/astropy/docs/analytic_functions/index.rst .
../../../home/bsipocz/devel/astropy/docs/config/config_0_4_transition.rst .
../../../home/bsipocz/devel/astropy/docs/config/index.rst .
../../../home/bsipocz/devel/astropy/docs/constants/index.rst .
../../../home/bsipocz/devel/astropy/docs/convolution/index.rst .
../../../home/bsipocz/devel/astropy/docs/convolution/kernels.rst .
../../../home/bsipocz/devel/astropy/docs/convolution/using.rst .
../../../home/bsipocz/devel/astropy/docs/coordinates/angles.rst .
../../../home/bsipocz/devel/astropy/docs/coordinates/definitions.rst .
../../../home/bsipocz/devel/astropy/docs/coordinates/formatting.rst .
../../../home/bsipocz/devel/astropy/docs/coordinates/frames.rst .
../../../home/bsipocz/devel/astropy/docs/coordinates/index.rst .
../../../home/bsipocz/devel/astropy/docs/coordinates/matchsep.rst .
../../../home/bsipocz/devel/astropy/docs/coordinates/observing-example.rst .
../../../home/bsipocz/devel/astropy/docs/coordinates/representations.rst .
../../../home/bsipocz/devel/astropy/docs/coordinates/sgr-example.rst .
../../../home/bsipocz/devel/astropy/docs/coordinates/skycoord.rst .
../../../home/bsipocz/devel/astropy/docs/coordinates/transforming.rst .
../../../home/bsipocz/devel/astropy/docs/cosmology/index.rst .
../../../home/bsipocz/devel/astropy/docs/development/affiliated-packages.rst .
../../../home/bsipocz/devel/astropy/docs/development/building.rst .
../../../home/bsipocz/devel/astropy/docs/development/ccython.rst .
../../../home/bsipocz/devel/astropy/docs/development/codeguide.rst .
../../../home/bsipocz/devel/astropy/docs/development/codeguide_emacs.rst .
../../../home/bsipocz/devel/astropy/docs/development/docguide.rst .
../../../home/bsipocz/devel/astropy/docs/development/docrules.rst .
../../../home/bsipocz/devel/astropy/docs/development/releasing.rst .
../../../home/bsipocz/devel/astropy/docs/development/scripts.rst .
../../../home/bsipocz/devel/astropy/docs/development/testguide.rst .
../../../home/bsipocz/devel/astropy/docs/development/vision.rst .
../../../home/bsipocz/devel/astropy/docs/development/workflow/additional_git_topics.rst .
../../../home/bsipocz/devel/astropy/docs/development/workflow/command_history.rst .
../../../home/bsipocz/devel/astropy/docs/development/workflow/development_workflow.rst .
../../../home/bsipocz/devel/astropy/docs/development/workflow/get_devel_version.rst .
../../../home/bsipocz/devel/astropy/docs/development/workflow/git_edit_workflow_examples.rst .
../../../home/bsipocz/devel/astropy/docs/development/workflow/git_install.rst .
../../../home/bsipocz/devel/astropy/docs/development/workflow/git_resources.rst .
../../../home/bsipocz/devel/astropy/docs/development/workflow/maintainer_workflow.rst .
../../../home/bsipocz/devel/astropy/docs/development/workflow/patches.rst .
../../../home/bsipocz/devel/astropy/docs/development/workflow/terminal_cast.rst .
../../../home/bsipocz/devel/astropy/docs/development/workflow/virtual_pythons.rst .
../../../home/bsipocz/devel/astropy/docs/development/workflow/virtualenv_detail.rst .
../../../home/bsipocz/devel/astropy/docs/io/misc.rst .
../../../home/bsipocz/devel/astropy/docs/io/registry.rst .
../../../home/bsipocz/devel/astropy/docs/io/unified.rst .
../../../home/bsipocz/devel/astropy/docs/io/ascii/base_classes.rst .
../../../home/bsipocz/devel/astropy/docs/io/ascii/extension_classes.rst .
../../../home/bsipocz/devel/astropy/docs/io/ascii/fast_ascii_io.rst .
../../../home/bsipocz/devel/astropy/docs/io/ascii/fixed_width_gallery.rst .
../../../home/bsipocz/devel/astropy/docs/io/ascii/index.rst .
../../../home/bsipocz/devel/astropy/docs/io/ascii/read.rst .
../../../home/bsipocz/devel/astropy/docs/io/ascii/write.rst .
../../../home/bsipocz/devel/astropy/docs/io/fits/index.rst .
../../../home/bsipocz/devel/astropy/docs/io/fits/appendix/faq.rst .
../../../home/bsipocz/devel/astropy/docs/io/fits/appendix/header_transition.rst .
../../../home/bsipocz/devel/astropy/docs/io/fits/appendix/history.rst .
../../../home/bsipocz/devel/astropy/docs/io/fits/usage/examples.rst .
../../../home/bsipocz/devel/astropy/docs/io/fits/usage/headers.rst .
../../../home/bsipocz/devel/astropy/docs/io/fits/usage/image.rst .
../../../home/bsipocz/devel/astropy/docs/io/fits/usage/misc.rst .
../../../home/bsipocz/devel/astropy/docs/io/fits/usage/scripts.rst .
../../../home/bsipocz/devel/astropy/docs/io/fits/usage/table.rst .
../../../home/bsipocz/devel/astropy/docs/io/fits/usage/unfamiliar.rst .
../../../home/bsipocz/devel/astropy/docs/io/fits/usage/verification.rst .
../../../home/bsipocz/devel/astropy/docs/io/votable/api_exceptions.rst .
../../../home/bsipocz/devel/astropy/docs/io/votable/index.rst .
../../../home/bsipocz/devel/astropy/docs/modeling/algorithms.rst .
../../../home/bsipocz/devel/astropy/docs/modeling/compound-models.rst .
../../../home/bsipocz/devel/astropy/docs/modeling/fitting.rst .
../../../home/bsipocz/devel/astropy/docs/modeling/index.rst .
../../../home/bsipocz/devel/astropy/docs/modeling/models.rst .
../../../home/bsipocz/devel/astropy/docs/modeling/new.rst .
../../../home/bsipocz/devel/astropy/docs/modeling/parameters.rst .
../../../home/bsipocz/devel/astropy/docs/nddata/decorator.rst .
../../../home/bsipocz/devel/astropy/docs/nddata/index.rst .
../../../home/bsipocz/devel/astropy/docs/nddata/nddata.rst .
../../../home/bsipocz/devel/astropy/docs/nddata/subclassing.rst .
../../../home/bsipocz/devel/astropy/docs/nddata/mixins/index.rst .
../../../home/bsipocz/devel/astropy/docs/nddata/mixins/ndarithmetic.rst .
../../../home/bsipocz/devel/astropy/docs/nddata/mixins/ndio.rst .
../../../home/bsipocz/devel/astropy/docs/nddata/mixins/ndslicing.rst .
../../../home/bsipocz/devel/astropy/docs/stats/index.rst .
../../../home/bsipocz/devel/astropy/docs/table/access_table.rst .
../../../home/bsipocz/devel/astropy/docs/table/construct_table.rst .
../../../home/bsipocz/devel/astropy/docs/table/implementation_change_1.0.rst .
../../../home/bsipocz/devel/astropy/docs/table/implementation_details.rst .
../../../home/bsipocz/devel/astropy/docs/table/index.rst .
../../../home/bsipocz/devel/astropy/docs/table/io.rst .
../../../home/bsipocz/devel/astropy/docs/table/masking.rst .
../../../home/bsipocz/devel/astropy/docs/table/modify_table.rst .
../../../home/bsipocz/devel/astropy/docs/table/operations.rst .
../../../home/bsipocz/devel/astropy/docs/time/index.rst .
../../../home/bsipocz/devel/astropy/docs/units/combining_and_defining.rst .
../../../home/bsipocz/devel/astropy/docs/units/conversion.rst .
../../../home/bsipocz/devel/astropy/docs/units/decomposing_and_composing.rst .
../../../home/bsipocz/devel/astropy/docs/units/equivalencies.rst .
../../../home/bsipocz/devel/astropy/docs/units/format.rst .
../../../home/bsipocz/devel/astropy/docs/units/index.rst .
../../../home/bsipocz/devel/astropy/docs/units/quantity.rst .
../../../home/bsipocz/devel/astropy/docs/units/standard_units.rst .
../../../home/bsipocz/devel/astropy/docs/utils/index.rst .
../../../home/bsipocz/devel/astropy/docs/utils/numpy.rst .
../../../home/bsipocz/devel/astropy/docs/visualization/index.rst .
../../../home/bsipocz/devel/astropy/docs/visualization/normalization.rst .
../../../home/bsipocz/devel/astropy/docs/vo/index.rst .
../../../home/bsipocz/devel/astropy/docs/vo/conesearch/client.rst .
../../../home/bsipocz/devel/astropy/docs/vo/conesearch/index.rst .
../../../home/bsipocz/devel/astropy/docs/vo/conesearch/validator.rst .
../../../home/bsipocz/devel/astropy/docs/vo/samp/advanced_embed_samp_hub.rst .
../../../home/bsipocz/devel/astropy/docs/vo/samp/example_clients.rst .
../../../home/bsipocz/devel/astropy/docs/vo/samp/example_hub.rst .
../../../home/bsipocz/devel/astropy/docs/vo/samp/example_table_image.rst .
../../../home/bsipocz/devel/astropy/docs/vo/samp/index.rst .
../../../home/bsipocz/devel/astropy/docs/wcs/history.rst .
../../../home/bsipocz/devel/astropy/docs/wcs/index.rst .
../../../home/bsipocz/devel/astropy/docs/wcs/relax.rst .
../../../home/bsipocz/devel/astropy/docs/whatsnew/0.1.rst .
../../../home/bsipocz/devel/astropy/docs/whatsnew/0.2.rst .
../../../home/bsipocz/devel/astropy/docs/whatsnew/0.3.rst .
../../../home/bsipocz/devel/astropy/docs/whatsnew/0.4.rst .
../../../home/bsipocz/devel/astropy/docs/whatsnew/index.rst .
====================================================== FAILURES =======================================================
______________________________________________ test_highlevel_api_remote ______________________________________________
@pytest.mark.remote_data
def test_highlevel_api_remote():
m31icrs = coords.SkyCoord.from_name('M31', frame='icrs')
> assert str(m31icrs) == '<SkyCoord (ICRS): ra=10.6847083 deg, dec=41.26875 deg>'
E assert '<SkyCoord (I...1.269065 deg>' == '<SkyCoord (IC...41.26875 deg>'
E - <SkyCoord (ICRS): ra=10.6847929 deg, dec=41.269065 deg>
E ? ^^^ ^^^
E + <SkyCoord (ICRS): ra=10.6847083 deg, dec=41.26875 deg>
E ? ^^^ ^^
astropy/coordinates/tests/test_api_ape5.py:441: AssertionError
_____________________________________________________ test_names ______________________________________________________
@remote_data
def test_names():
# First check that sesame is up
if urllib.request.urlopen("http://cdsweb.u-strasbg.fr/cgi-bin/nph-sesame").getcode() != 200:
pytest.skip("SESAME appears to be down, skipping test_name_resolve.py:test_names()...")
with pytest.raises(NameResolveError):
get_icrs_coordinates("m87h34hhh")
try:
icrs = get_icrs_coordinates("ngc 3642")
except NameResolveError:
ra, dec = _parse_response(_cached_ngc3642["all"])
icrs = SkyCoord(ra=float(ra)*u.degree, dec=float(dec)*u.degree)
icrs_true = SkyCoord(ra="11h 22m 18.014s", dec="59d 04m 27.27s")
> np.testing.assert_almost_equal(icrs.ra.degree, icrs_true.ra.degree, 3)
astropy/coordinates/tests/test_name_resolve.py:126:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
actual = 170.5745485, desired = 170.57505833333332, decimal = 3, err_msg = '', verbose = True
def assert_almost_equal(actual,desired,decimal=7,err_msg='',verbose=True):
"""
Raises an AssertionError if two items are not equal up to desired
precision.
.. note:: It is recommended to use one of `assert_allclose`,
`assert_array_almost_equal_nulp` or `assert_array_max_ulp`
instead of this function for more consistent floating point
comparisons.
The test is equivalent to ``abs(desired-actual) < 0.5 * 10**(-decimal)``.
Given two objects (numbers or ndarrays), check that all elements of these
objects are almost equal. An exception is raised at conflicting values.
For ndarrays this delegates to assert_array_almost_equal
Parameters
----------
actual : array_like
The object to check.
desired : array_like
The expected object.
decimal : int, optional
Desired precision, default is 7.
err_msg : str, optional
The error message to be printed in case of failure.
verbose : bool, optional
If True, the conflicting values are appended to the error message.
Raises
------
AssertionError
If actual and desired are not equal up to specified precision.
See Also
--------
assert_allclose: Compare two array_like objects for equality with desired
relative and/or absolute precision.
assert_array_almost_equal_nulp, assert_array_max_ulp, assert_equal
Examples
--------
>>> import numpy.testing as npt
>>> npt.assert_almost_equal(2.3333333333333, 2.33333334)
>>> npt.assert_almost_equal(2.3333333333333, 2.33333334, decimal=10)
...
<type 'exceptions.AssertionError'>:
Items are not equal:
ACTUAL: 2.3333333333333002
DESIRED: 2.3333333399999998
>>> npt.assert_almost_equal(np.array([1.0,2.3333333333333]),
... np.array([1.0,2.33333334]), decimal=9)
...
<type 'exceptions.AssertionError'>:
Arrays are not almost equal
<BLANKLINE>
(mismatch 50.0%)
x: array([ 1. , 2.33333333])
y: array([ 1. , 2.33333334])
"""
from numpy.core import ndarray
from numpy.lib import iscomplexobj, real, imag
# Handle complex numbers: separate into real/imag to handle
# nan/inf/negative zero correctly
# XXX: catch ValueError for subclasses of ndarray where iscomplex fail
try:
usecomplex = iscomplexobj(actual) or iscomplexobj(desired)
except ValueError:
usecomplex = False
def _build_err_msg():
header = ('Arrays are not almost equal to %d decimals' % decimal)
return build_err_msg([actual, desired], err_msg, verbose=verbose,
header=header)
if usecomplex:
if iscomplexobj(actual):
actualr = real(actual)
actuali = imag(actual)
else:
actualr = actual
actuali = 0
if iscomplexobj(desired):
desiredr = real(desired)
desiredi = imag(desired)
else:
desiredr = desired
desiredi = 0
try:
assert_almost_equal(actualr, desiredr, decimal=decimal)
assert_almost_equal(actuali, desiredi, decimal=decimal)
except AssertionError:
raise AssertionError(_build_err_msg())
if isinstance(actual, (ndarray, tuple, list)) \
or isinstance(desired, (ndarray, tuple, list)):
return assert_array_almost_equal(actual, desired, decimal, err_msg)
try:
# If one of desired/actual is not finite, handle it specially here:
# check that both are nan if any is a nan, and test for equality
# otherwise
if not (gisfinite(desired) and gisfinite(actual)):
if gisnan(desired) or gisnan(actual):
if not (gisnan(desired) and gisnan(actual)):
raise AssertionError(_build_err_msg())
else:
if not desired == actual:
raise AssertionError(_build_err_msg())
return
except (NotImplementedError, TypeError):
pass
if round(abs(desired - actual), decimal) != 0 :
> raise AssertionError(_build_err_msg())
E AssertionError:
E Arrays are not almost equal to 3 decimals
E ACTUAL: 170.5745485
E DESIRED: 170.57505833333332
/data/apm36_a/wts/pipeline64/bsipocz/lib/python2.7/site-packages/numpy/testing/utils.py:490: AssertionError
_____________________________________________________ test_names ______________________________________________________
@remote_data
def test_names():
# First check that sesame is up
if urllib.request.urlopen("http://cdsweb.u-strasbg.fr/cgi-bin/nph-sesame").getcode() != 200:
pytest.skip("SESAME appears to be down, skipping test_name_resolve.py:test_names()...")
with pytest.raises(NameResolveError):
get_icrs_coordinates("m87h34hhh")
try:
icrs = get_icrs_coordinates("ngc 3642")
except NameResolveError:
ra, dec = _parse_response(_cached_ngc3642["all"])
icrs = SkyCoord(ra=float(ra)*u.degree, dec=float(dec)*u.degree)
icrs_true = SkyCoord(ra="11h 22m 18.014s", dec="59d 04m 27.27s")
> np.testing.assert_almost_equal(icrs.ra.degree, icrs_true.ra.degree, 3)
astropy/coordinates/tests/test_name_resolve.py:126:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
actual = 170.5745485, desired = 170.57505833333332, decimal = 3, err_msg = '', verbose = True
def assert_almost_equal(actual,desired,decimal=7,err_msg='',verbose=True):
"""
Raises an AssertionError if two items are not equal up to desired
precision.
.. note:: It is recommended to use one of `assert_allclose`,
`assert_array_almost_equal_nulp` or `assert_array_max_ulp`
instead of this function for more consistent floating point
comparisons.
The test is equivalent to ``abs(desired-actual) < 0.5 * 10**(-decimal)``.
Given two objects (numbers or ndarrays), check that all elements of these
objects are almost equal. An exception is raised at conflicting values.
For ndarrays this delegates to assert_array_almost_equal
Parameters
----------
actual : array_like
The object to check.
desired : array_like
The expected object.
decimal : int, optional
Desired precision, default is 7.
err_msg : str, optional
The error message to be printed in case of failure.
verbose : bool, optional
If True, the conflicting values are appended to the error message.
Raises
------
AssertionError
If actual and desired are not equal up to specified precision.
See Also
--------
assert_allclose: Compare two array_like objects for equality with desired
relative and/or absolute precision.
assert_array_almost_equal_nulp, assert_array_max_ulp, assert_equal
Examples
--------
>>> import numpy.testing as npt
>>> npt.assert_almost_equal(2.3333333333333, 2.33333334)
>>> npt.assert_almost_equal(2.3333333333333, 2.33333334, decimal=10)
...
<type 'exceptions.AssertionError'>:
Items are not equal:
ACTUAL: 2.3333333333333002
DESIRED: 2.3333333399999998
>>> npt.assert_almost_equal(np.array([1.0,2.3333333333333]),
... np.array([1.0,2.33333334]), decimal=9)
...
<type 'exceptions.AssertionError'>:
Arrays are not almost equal
<BLANKLINE>
(mismatch 50.0%)
x: array([ 1. , 2.33333333])
y: array([ 1. , 2.33333334])
"""
from numpy.core import ndarray
from numpy.lib import iscomplexobj, real, imag
# Handle complex numbers: separate into real/imag to handle
# nan/inf/negative zero correctly
# XXX: catch ValueError for subclasses of ndarray where iscomplex fail
try:
usecomplex = iscomplexobj(actual) or iscomplexobj(desired)
except ValueError:
usecomplex = False
def _build_err_msg():
header = ('Arrays are not almost equal to %d decimals' % decimal)
return build_err_msg([actual, desired], err_msg, verbose=verbose,
header=header)
if usecomplex:
if iscomplexobj(actual):
actualr = real(actual)
actuali = imag(actual)
else:
actualr = actual
actuali = 0
if iscomplexobj(desired):
desiredr = real(desired)
desiredi = imag(desired)
else:
desiredr = desired
desiredi = 0
try:
assert_almost_equal(actualr, desiredr, decimal=decimal)
assert_almost_equal(actuali, desiredi, decimal=decimal)
except AssertionError:
raise AssertionError(_build_err_msg())
if isinstance(actual, (ndarray, tuple, list)) \
or isinstance(desired, (ndarray, tuple, list)):
return assert_array_almost_equal(actual, desired, decimal, err_msg)
try:
# If one of desired/actual is not finite, handle it specially here:
# check that both are nan if any is a nan, and test for equality
# otherwise
if not (gisfinite(desired) and gisfinite(actual)):
if gisnan(desired) or gisnan(actual):
if not (gisnan(desired) and gisnan(actual)):
raise AssertionError(_build_err_msg())
else:
if not desired == actual:
raise AssertionError(_build_err_msg())
return
except (NotImplementedError, TypeError):
pass
if round(abs(desired - actual), decimal) != 0 :
> raise AssertionError(_build_err_msg())
E AssertionError:
E Arrays are not almost equal to 3 decimals
E ACTUAL: 170.5745485
E DESIRED: 170.57505833333332
/data/apm36_a/wts/pipeline64/bsipocz/lib/python2.7/site-packages/numpy/testing/utils.py:490: AssertionError
===================== 3 failed, 8372 passed, 123 skipped, 45 xfailed, 3 xpassed in 600.67 seconds =====================
bsipocz@apm36:~/devel/astropy$ python setup.py test -R
running test
running build
running build_py
running pre_hook from astropy.erfa.setup_package for build_py command
running build_ext
running pre_hook from astropy.erfa.setup_package for build_ext command
skipping 'astropy/table/_np_utils.c' Cython extension (up-to-date)
skipping 'astropy/erfa/core.c' Cython extension (up-to-date)
skipping 'astropy/io/ascii/cparser.c' Cython extension (up-to-date)
skipping 'astropy/convolution/boundary_wrap.c' Cython extension (up-to-date)
skipping 'astropy/convolution/boundary_extend.c' Cython extension (up-to-date)
skipping 'astropy/convolution/boundary_none.c' Cython extension (up-to-date)
skipping 'astropy/convolution/boundary_fill.c' Cython extension (up-to-date)
================================================= test session starts =================================================
platform linux2 -- Python 2.7.8 -- pytest-2.5.1
Running tests with Astropy version 1.0.dev11448.
Running tests in astropy /home/bsipocz/devel/astropy/docs.
Platform: Linux-2.6.18-400.1.1.el5-x86_64-with-redhat-5.11-Tikanga
Executable: /data/apm36_a/wts/pipeline64/bsipocz/bin/python
Full Python Version:
2.7.8 (default, Nov 18 2014, 11:18:05)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-55)]
encodings: sys: ascii, locale: UTF-8, filesystem: UTF-8, unicode bits: 15
byteorder: little
float info: dig: 15, mant_dig: 15
Numpy: 1.9.1
Scipy: 0.14.0
Matplotlib: 1.4.2
h5py: not available
Using Astropy options: remote_data.
collected 8539 items / 7 skipped
astropy/analytic_functions/tests/test_blackbody.py ....
astropy/config/configuration.py .
astropy/config/tests/test_configs.py ...............
astropy/constants/__init__.py .
astropy/constants/tests/test_constant.py ..............
astropy/constants/tests/test_pickle.py xxxxxxxxx
astropy/convolution/kernels.py ...
astropy/convolution/tests/test_convolve.py ...............................................................................................................
astropy/convolution/tests/test_convolve_fft.py ...................................................................................................................................................................................................................................................................................................................................................
astropy/convolution/tests/test_convolve_kernels.py ..............................................................
astropy/convolution/tests/test_discretize.py ...s...........s...............
astropy/convolution/tests/test_kernel_class.py ............................................................................................................................................................................
astropy/convolution/tests/test_pickle.py .xx.xx.xx
astropy/coordinates/angles.py ..
astropy/coordinates/baseframe.py .
astropy/coordinates/sky_coordinate.py ..
astropy/coordinates/tests/test_angles.py ..........................................................................
astropy/coordinates/tests/test_angular_separation.py ....
astropy/coordinates/tests/test_api_ape5.py .....
astropy/coordinates/tests/test_arrays.py ..........................
astropy/coordinates/tests/test_distance.py .........
astropy/coordinates/tests/test_earth.py ........................
astropy/coordinates/tests/test_formatting.py ....................
astropy/coordinates/tests/test_frames.py .....................
astropy/coordinates/tests/test_funcs.py .
astropy/coordinates/tests/test_iau_fullstack.py ....................................................xxx
astropy/coordinates/tests/test_matching.py .....
astropy/coordinates/tests/test_name_resolve.py ......
astropy/coordinates/tests/test_pickle.py ....xx.x...xx.x...xx.x.
astropy/coordinates/tests/test_representation.py .............................................................................
astropy/coordinates/tests/test_sky_coord.py .......................................................................................................................................................................................................................................................................................................................................................................................x...........
astropy/coordinates/tests/test_transformations.py ......................
astropy/coordinates/tests/accuracy/test_fk4_no_e_fk4.py .
astropy/coordinates/tests/accuracy/test_fk4_no_e_fk5.py .
astropy/coordinates/tests/accuracy/test_galactic_fk4.py .
astropy/coordinates/tests/accuracy/test_icrs_fk5.py .
astropy/coordinates/tests/accuracy/test_pytpm_examples.py ..x
astropy/cosmology/tests/test_cosmology.py ...................................
astropy/cosmology/tests/test_pickle.py ...
astropy/erfa/tests/test_erfa.py .....
astropy/io/ascii/daophot.py .
astropy/io/ascii/ipac.py .
astropy/io/ascii/tests/test_c_reader.py ...........................x................x.......x.x.............
astropy/io/ascii/tests/test_cds_header_from_readme.py ...
astropy/io/ascii/tests/test_compressed.py .....
astropy/io/ascii/tests/test_connect.py ........................
astropy/io/ascii/tests/test_fixedwidth.py ............................................................
astropy/io/ascii/tests/test_html.py ........s.......
astropy/io/ascii/tests/test_ipac_definitions.py ........................................
astropy/io/ascii/tests/test_read.py ................................................................................................................................................................................................
astropy/io/ascii/tests/test_types.py ......
astropy/io/ascii/tests/test_write.py ..........................
astropy/io/fits/diff.py .
astropy/io/fits/util.py .
astropy/io/fits/tests/test_checksum.py ....................
astropy/io/fits/tests/test_connect.py .........................
astropy/io/fits/tests/test_core.py .......................................................
astropy/io/fits/tests/test_diff.py ..................................
astropy/io/fits/tests/test_division.py .....
astropy/io/fits/tests/test_groups.py .......
astropy/io/fits/tests/test_hdulist.py .........................................
astropy/io/fits/tests/test_header.py ............................................................................................................................................
astropy/io/fits/tests/test_image.py ....................................................
astropy/io/fits/tests/test_nonstandard.py ...
astropy/io/fits/tests/test_structured.py .
astropy/io/fits/tests/test_table.py ...............................................................
astropy/io/fits/tests/test_uint.py ........
astropy/io/fits/tests/test_util.py .
astropy/io/misc/tests/test_hdf5.py sssssssssssssssssssssssssssssssssssssss
astropy/io/misc/tests/test_pickle_helpers.py ....
astropy/io/tests/test_registry.py ............................................................
astropy/io/votable/tests/converter_test.py ............................................
astropy/io/votable/tests/exception_test.py ..
astropy/io/votable/tests/table_test.py ..............
astropy/io/votable/tests/tree_test.py ...
astropy/io/votable/tests/ucd_test.py ..........
astropy/io/votable/tests/util_test.py ......................
astropy/io/votable/tests/vo_test.py ................................................................................................................................................................................................................................................................................................................................
astropy/modeling/_compound_deprecated.py ..
astropy/modeling/core.py ....
astropy/modeling/functional_models.py .
astropy/modeling/utils.py .
astropy/modeling/tests/test_compound.py .........................................
astropy/modeling/tests/test_constraints.py .....................
astropy/modeling/tests/test_core.py ........
astropy/modeling/tests/test_fitters.py ...................
astropy/modeling/tests/test_functional_models.py .........
astropy/modeling/tests/test_input.py ......................................................
astropy/modeling/tests/test_models.py ......................................................s....s....s.................................ss.sssss.s...
astropy/modeling/tests/test_parameters.py .....................................................
astropy/modeling/tests/test_polynomial.py .................
astropy/modeling/tests/test_projections.py ...................
astropy/modeling/tests/test_rotations.py .....
astropy/modeling/tests/test_utils.py ..
astropy/nddata/utils.py ...
astropy/nddata/tests/test_decorators.py ..........
astropy/nddata/tests/test_flag_collection.py ....................
astropy/nddata/tests/test_nddata.py ..................................................................
astropy/nddata/tests/test_nddata_base.py .
astropy/nddata/tests/test_utils.py .........
astropy/stats/funcs.py ....
astropy/stats/sigma_clipping.py .
astropy/stats/tests/test_funcs.py .............
astropy/stats/tests/test_sigma_clipping.py ...
astropy/table/np_utils.py ..
astropy/table/operations.py ..
astropy/table/row.py .
astropy/table/table.py ............
astropy/table/table_helpers.py .
astropy/table/tests/test_column.py ....................................................................................................................................................
astropy/table/tests/test_groups.py ........................................
astropy/table/tests/test_init_table.py ......................................................................................................................................................................................................................................................................................................
astropy/table/tests/test_item_access.py ........................................................
astropy/table/tests/test_jsviewer.py .
astropy/table/tests/test_masked.py ..................................................................
astropy/table/tests/test_np_utils.py .
astropy/table/tests/test_operations.py ......................................................................
astropy/table/tests/test_pickle.py ............
astropy/table/tests/test_pprint.py ....................................................................................................
astropy/table/tests/test_row.py ..............................................................
astropy/table/tests/test_subclass.py ....
astropy/table/tests/test_table.py .......................................................................................................................................................................................................................................................................................x..............................................................................................................................................................................................................................................................................................................x.......................
astropy/tests/test_logger.py ............................
astropy/tests/tests/test_imports.py ..
astropy/tests/tests/test_open_file_detection.py .
astropy/tests/tests/test_quantity_helpers.py .
astropy/tests/tests/test_run_tests.py ........
astropy/tests/tests/test_skip_remote_data.py .
astropy/tests/tests/test_socketblocker.py ...
astropy/time/core.py ..
astropy/time/tests/test_basic.py ...........................x......................................x...........
astropy/time/tests/test_comparisons.py ...
astropy/time/tests/test_delta.py ................................................................................
astropy/time/tests/test_guess.py ....
astropy/time/tests/test_pickle.py .
astropy/time/tests/test_precision.py .......x..
astropy/time/tests/test_quantity_interaction.py ............
astropy/time/tests/test_sidereal.py ...................
astropy/time/tests/test_ut1.py ...s
astropy/units/cds.py .
astropy/units/core.py ....
astropy/units/equivalencies.py ....
astropy/units/imperial.py .
astropy/units/format/console.py .
astropy/units/format/unicode_format.py .
astropy/units/tests/test_equivalencies.py ..................................................
astropy/units/tests/test_format.py ..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
astropy/units/tests/test_physical.py ......................
astropy/units/tests/test_quantity.py ....................................................................
astropy/units/tests/test_quantity_array_methods.py .............................x............x.x.............
astropy/units/tests/test_quantity_decorator.py sssssssssssss...............
astropy/units/tests/test_quantity_non_ufuncs.py xx
astropy/units/tests/test_quantity_ufuncs.py ........................................ss.................................................................................................................
astropy/units/tests/test_units.py ............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
astropy/utils/decorators.py ..
astropy/utils/introspection.py .
astropy/utils/misc.py ..
astropy/utils/timer.py .
astropy/utils/iers/iers.py .
astropy/utils/iers/tests/test_iers.py .s
astropy/utils/tests/test_codegen.py .
astropy/utils/tests/test_collections.py .....
astropy/utils/tests/test_compat.py .
astropy/utils/tests/test_console.py ..................................................
astropy/utils/tests/test_data.py ........................................
astropy/utils/tests/test_decorators.py .......
astropy/utils/tests/test_gzip.py ss
astropy/utils/tests/test_introspection.py ....
astropy/utils/tests/test_metadata.py ...............
astropy/utils/tests/test_misc.py .....
astropy/utils/tests/test_odict.py sssssssssssssssssssssssssssssssssssssssssss
astropy/utils/tests/test_state.py ..
astropy/utils/tests/test_timer.py .
astropy/utils/tests/test_xml.py ........
astropy/visualization/scripts/tests/test_fits2bitmap.py ..
astropy/visualization/tests/test_interval.py .................
astropy/visualization/tests/test_norm.py s.....
astropy/visualization/tests/test_stretch.py ...................................................................................................
astropy/visualization/tests/test_ui.py ......
astropy/vo/client/tests/test_conesearch.py .................x.
astropy/vo/client/tests/test_vos_catalog.py ...............
astropy/vo/samp/tests/test_client.py ....
astropy/vo/samp/tests/test_errors.py ...
astropy/vo/samp/tests/test_hub.py ..
astropy/vo/samp/tests/test_hub_proxy.py .....
astropy/vo/samp/tests/test_hub_script.py .
astropy/vo/samp/tests/test_standard_profile.py .XX
astropy/vo/samp/tests/test_web_profile.py X.
astropy/vo/validator/tests/test_inpect.py ....
astropy/vo/validator/tests/test_validate.py ...
astropy/wcs/wcs.py .
astropy/wcs/tests/test_pickle.py ......
astropy/wcs/tests/test_profiling.py ..................................
astropy/wcs/tests/test_utils.py ..........................................
astropy/wcs/tests/test_wcs.py ......................................................................................................................................
astropy/wcs/tests/test_wcsprm.py ...........................................................................................x......
astropy/wcs/tests/extension/test_extension.py .
../../../home/bsipocz/devel/astropy/docs/changelog.rst .
../../../home/bsipocz/devel/astropy/docs/credits.rst .
../../../home/bsipocz/devel/astropy/docs/getting_started.rst .
../../../home/bsipocz/devel/astropy/docs/index.rst .
../../../home/bsipocz/devel/astropy/docs/install.rst .
../../../home/bsipocz/devel/astropy/docs/known_issues.rst .
../../../home/bsipocz/devel/astropy/docs/license.rst .
../../../home/bsipocz/devel/astropy/docs/logging.rst .
../../../home/bsipocz/devel/astropy/docs/overview.rst .
../../../home/bsipocz/devel/astropy/docs/stability.rst .
../../../home/bsipocz/devel/astropy/docs/warnings.rst .
../../../home/bsipocz/devel/astropy/docs/analytic_functions/index.rst .
../../../home/bsipocz/devel/astropy/docs/config/config_0_4_transition.rst .
../../../home/bsipocz/devel/astropy/docs/config/index.rst .
../../../home/bsipocz/devel/astropy/docs/constants/index.rst .
../../../home/bsipocz/devel/astropy/docs/convolution/index.rst .
../../../home/bsipocz/devel/astropy/docs/convolution/kernels.rst .
../../../home/bsipocz/devel/astropy/docs/convolution/using.rst .
../../../home/bsipocz/devel/astropy/docs/coordinates/angles.rst .
../../../home/bsipocz/devel/astropy/docs/coordinates/definitions.rst .
../../../home/bsipocz/devel/astropy/docs/coordinates/formatting.rst .
../../../home/bsipocz/devel/astropy/docs/coordinates/frames.rst .
../../../home/bsipocz/devel/astropy/docs/coordinates/index.rst .
../../../home/bsipocz/devel/astropy/docs/coordinates/matchsep.rst .
../../../home/bsipocz/devel/astropy/docs/coordinates/observing-example.rst .
../../../home/bsipocz/devel/astropy/docs/coordinates/representations.rst .
../../../home/bsipocz/devel/astropy/docs/coordinates/sgr-example.rst .
../../../home/bsipocz/devel/astropy/docs/coordinates/skycoord.rst .
../../../home/bsipocz/devel/astropy/docs/coordinates/transforming.rst .
../../../home/bsipocz/devel/astropy/docs/cosmology/index.rst .
../../../home/bsipocz/devel/astropy/docs/development/affiliated-packages.rst .
../../../home/bsipocz/devel/astropy/docs/development/building.rst .
../../../home/bsipocz/devel/astropy/docs/development/ccython.rst .
../../../home/bsipocz/devel/astropy/docs/development/codeguide.rst .
../../../home/bsipocz/devel/astropy/docs/development/codeguide_emacs.rst .
../../../home/bsipocz/devel/astropy/docs/development/docguide.rst .
../../../home/bsipocz/devel/astropy/docs/development/docrules.rst .
../../../home/bsipocz/devel/astropy/docs/development/releasing.rst .
../../../home/bsipocz/devel/astropy/docs/development/scripts.rst .
../../../home/bsipocz/devel/astropy/docs/development/testguide.rst .
../../../home/bsipocz/devel/astropy/docs/development/vision.rst .
../../../home/bsipocz/devel/astropy/docs/development/workflow/additional_git_topics.rst .
../../../home/bsipocz/devel/astropy/docs/development/workflow/command_history.rst .
../../../home/bsipocz/devel/astropy/docs/development/workflow/development_workflow.rst .
../../../home/bsipocz/devel/astropy/docs/development/workflow/get_devel_version.rst .
../../../home/bsipocz/devel/astropy/docs/development/workflow/git_edit_workflow_examples.rst .
../../../home/bsipocz/devel/astropy/docs/development/workflow/git_install.rst .
../../../home/bsipocz/devel/astropy/docs/development/workflow/git_resources.rst .
../../../home/bsipocz/devel/astropy/docs/development/workflow/maintainer_workflow.rst .
../../../home/bsipocz/devel/astropy/docs/development/workflow/patches.rst .
../../../home/bsipocz/devel/astropy/docs/development/workflow/terminal_cast.rst .
../../../home/bsipocz/devel/astropy/docs/development/workflow/virtual_pythons.rst .
../../../home/bsipocz/devel/astropy/docs/development/workflow/virtualenv_detail.rst .
../../../home/bsipocz/devel/astropy/docs/io/misc.rst .
../../../home/bsipocz/devel/astropy/docs/io/registry.rst .
../../../home/bsipocz/devel/astropy/docs/io/unified.rst .
../../../home/bsipocz/devel/astropy/docs/io/ascii/base_classes.rst .
../../../home/bsipocz/devel/astropy/docs/io/ascii/extension_classes.rst .
../../../home/bsipocz/devel/astropy/docs/io/ascii/fast_ascii_io.rst .
../../../home/bsipocz/devel/astropy/docs/io/ascii/fixed_width_gallery.rst .
../../../home/bsipocz/devel/astropy/docs/io/ascii/index.rst .
../../../home/bsipocz/devel/astropy/docs/io/ascii/read.rst .
../../../home/bsipocz/devel/astropy/docs/io/ascii/write.rst .
../../../home/bsipocz/devel/astropy/docs/io/fits/index.rst .
../../../home/bsipocz/devel/astropy/docs/io/fits/appendix/faq.rst .
../../../home/bsipocz/devel/astropy/docs/io/fits/appendix/header_transition.rst .
../../../home/bsipocz/devel/astropy/docs/io/fits/appendix/history.rst .
../../../home/bsipocz/devel/astropy/docs/io/fits/usage/examples.rst .
../../../home/bsipocz/devel/astropy/docs/io/fits/usage/headers.rst .
../../../home/bsipocz/devel/astropy/docs/io/fits/usage/image.rst .
../../../home/bsipocz/devel/astropy/docs/io/fits/usage/misc.rst .
../../../home/bsipocz/devel/astropy/docs/io/fits/usage/scripts.rst .
../../../home/bsipocz/devel/astropy/docs/io/fits/usage/table.rst .
../../../home/bsipocz/devel/astropy/docs/io/fits/usage/unfamiliar.rst .
../../../home/bsipocz/devel/astropy/docs/io/fits/usage/verification.rst .
../../../home/bsipocz/devel/astropy/docs/io/votable/api_exceptions.rst .
../../../home/bsipocz/devel/astropy/docs/io/votable/index.rst .
../../../home/bsipocz/devel/astropy/docs/modeling/algorithms.rst .
../../../home/bsipocz/devel/astropy/docs/modeling/compound-models.rst .
../../../home/bsipocz/devel/astropy/docs/modeling/fitting.rst .
../../../home/bsipocz/devel/astropy/docs/modeling/index.rst .
../../../home/bsipocz/devel/astropy/docs/modeling/models.rst .
../../../home/bsipocz/devel/astropy/docs/modeling/new.rst .
../../../home/bsipocz/devel/astropy/docs/modeling/parameters.rst .
../../../home/bsipocz/devel/astropy/docs/nddata/decorator.rst .
../../../home/bsipocz/devel/astropy/docs/nddata/index.rst .
../../../home/bsipocz/devel/astropy/docs/nddata/nddata.rst .
../../../home/bsipocz/devel/astropy/docs/nddata/subclassing.rst .
../../../home/bsipocz/devel/astropy/docs/nddata/mixins/index.rst .
../../../home/bsipocz/devel/astropy/docs/nddata/mixins/ndarithmetic.rst .
../../../home/bsipocz/devel/astropy/docs/nddata/mixins/ndio.rst .
../../../home/bsipocz/devel/astropy/docs/nddata/mixins/ndslicing.rst .
../../../home/bsipocz/devel/astropy/docs/stats/index.rst .
../../../home/bsipocz/devel/astropy/docs/table/access_table.rst .
../../../home/bsipocz/devel/astropy/docs/table/construct_table.rst .
../../../home/bsipocz/devel/astropy/docs/table/implementation_change_1.0.rst .
../../../home/bsipocz/devel/astropy/docs/table/implementation_details.rst .
../../../home/bsipocz/devel/astropy/docs/table/index.rst .
../../../home/bsipocz/devel/astropy/docs/table/io.rst .
../../../home/bsipocz/devel/astropy/docs/table/masking.rst .
../../../home/bsipocz/devel/astropy/docs/table/modify_table.rst .
../../../home/bsipocz/devel/astropy/docs/table/operations.rst .
../../../home/bsipocz/devel/astropy/docs/time/index.rst .
../../../home/bsipocz/devel/astropy/docs/units/combining_and_defining.rst .
../../../home/bsipocz/devel/astropy/docs/units/conversion.rst .
../../../home/bsipocz/devel/astropy/docs/units/decomposing_and_composing.rst .
../../../home/bsipocz/devel/astropy/docs/units/equivalencies.rst .
../../../home/bsipocz/devel/astropy/docs/units/format.rst .
../../../home/bsipocz/devel/astropy/docs/units/index.rst .
../../../home/bsipocz/devel/astropy/docs/units/quantity.rst .
../../../home/bsipocz/devel/astropy/docs/units/standard_units.rst .
../../../home/bsipocz/devel/astropy/docs/utils/index.rst .
../../../home/bsipocz/devel/astropy/docs/utils/numpy.rst .
../../../home/bsipocz/devel/astropy/docs/visualization/index.rst .
../../../home/bsipocz/devel/astropy/docs/visualization/normalization.rst .
../../../home/bsipocz/devel/astropy/docs/vo/index.rst .
../../../home/bsipocz/devel/astropy/docs/vo/conesearch/client.rst .
../../../home/bsipocz/devel/astropy/docs/vo/conesearch/index.rst .
../../../home/bsipocz/devel/astropy/docs/vo/conesearch/validator.rst .
../../../home/bsipocz/devel/astropy/docs/vo/samp/advanced_embed_samp_hub.rst .
../../../home/bsipocz/devel/astropy/docs/vo/samp/example_clients.rst .
../../../home/bsipocz/devel/astropy/docs/vo/samp/example_hub.rst .
../../../home/bsipocz/devel/astropy/docs/vo/samp/example_table_image.rst .
../../../home/bsipocz/devel/astropy/docs/vo/samp/index.rst .
../../../home/bsipocz/devel/astropy/docs/wcs/history.rst .
../../../home/bsipocz/devel/astropy/docs/wcs/index.rst .
../../../home/bsipocz/devel/astropy/docs/wcs/relax.rst .
../../../home/bsipocz/devel/astropy/docs/whatsnew/0.1.rst .
../../../home/bsipocz/devel/astropy/docs/whatsnew/0.2.rst .
../../../home/bsipocz/devel/astropy/docs/whatsnew/0.3.rst .
../../../home/bsipocz/devel/astropy/docs/whatsnew/0.4.rst .
../../../home/bsipocz/devel/astropy/docs/whatsnew/index.rst .
========================== 8375 passed, 123 skipped, 45 xfailed, 3 xpassed in 570.89 seconds ==========================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment