Skip to content

TST: wcsapi.rst failed remote data doctest #10299

Closed

Description

@pllim

Description

________________________ [doctest] docs/wcs/wcsapi.rst _________________________
286 extracting a spectral slice, and in that slice we are extracting a sub-region
287 on the sky.
288 
289 If you are implementing your own WCS class, you could choose to implement
290 ``__getitem__`` and have it internally use
291 :class:`~astropy.wcs.wcsapi.SlicedLowLevelWCS`. In fact, the
292 :class:`~astropy.wcs.WCS` class does this - the example above can be written
293 more succinctly as::
294 
295     >>> wcs[10, 30:100, 30:100]  # doctest: +REMOTE_DATA +ELLIPSIS
Differences (unified diff with -expected +actual):
    @@ -1,2 +1,3 @@
    +<astropy.wcs.wcsapi.fitswcs.SlicedFITSWCS object at 0x7f2484b3a2b0>
     SlicedFITSWCS Transformation
     <BLANKLINE>
/home/travis/build/astropy/astropy/docs/wcs/wcsapi.rst:295: DocTestFailure

Example log: https://travis-ci.org/github/astropy/astropy/jobs/683016071

Activity

  1. added this to the v4.1 milestone on May 4, 2020
  2. added
    Affects-devPRs and issues that do not impact an existing Astropy release
    on May 4, 2020
  3. self-assigned this
    on May 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions