Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SkyCord print change in astropy master (beta of 3.1?) #2785

Closed
nabobalis opened this issue Oct 10, 2018 · 1 comment
Closed

SkyCord print change in astropy master (beta of 3.1?) #2785

nabobalis opened this issue Oct 10, 2018 · 1 comment
Labels
Affects Dev An issue/bug that affects master

Comments

@nabobalis
Copy link
Contributor

Description

We have several doc tests fail under astropy master.
Looks like the print for skycord has changed.
We probably cant fix this until the new version of Astropy is out.

Link here.

Expected:
    <SkyCoord (Helioprojective: obstime=2017-07-26 00:00:00, rsun=695508.0 km, observer=<HeliographicStonyhurst Coordinate (obstime=2017-07-26 00:00:00): (lon, lat, radius) in (deg, deg, AU)
        (0., 5.31701821, 1.01567428)>): (Tx, Ty) in arcsec
        (0., 0.)>
Got:
    <SkyCoord (Helioprojective: obstime=2017-07-26 00:00:00, rsun=695508.0 km, observer=<HeliographicStonyhurst Coordinate for 'earth'>): (Tx, Ty) in arcsec
        (0., 0.)>

Furthermore, it seems that the doctest return of sunpy.cm.cmlist.keys() has changed width.

Expected behavior

The tests shouldn't fail

Actual behavior

The tests fail

Steps to Reproduce

  1. Install astropy dev
  2. run sunpy tests
  3. ?
  4. profit

System Details

  • SunPy Version: master
  • Python Version: any
  • OS information: any
@nabobalis nabobalis added the Affects Dev An issue/bug that affects master label Oct 10, 2018
@Cadair
Copy link
Member

Cadair commented Oct 24, 2018

I have no idea why this is only happening on astropy-dev. What you are describing looks like the change introduced in #2723

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Affects Dev An issue/bug that affects master
Projects
None yet
Development

No branches or pull requests

2 participants