Skip to content

Fix test failing after backport of #11285 - #11438

Merged
saimn merged 1 commit into
astropy:v4.2.xfrom
saimn:fits-fix-resource-warning-test
Mar 27, 2021
Merged

saimn merged 1 commit into
astropy:v4.2.xfrom
saimn:fits-fix-resource-warning-test

Conversation

@saimn

@saimn saimn commented Mar 26, 2021 •

Copy link
Copy Markdown
Contributor

With the backport of #11285 on v4.2, a new warning is rasied and turned
into an error. This doesn't happen on v4.0 because the way to catch
warning changed (using pytest) and does not happen on master/4.3 because
some new code was added to detect if the file is a valid FITS file.

cc @eteq @pllim
ref #11415 and #11430

With the backport of astropy#11285 on v4.2, a new warning is rasied and turned
into an error. This doesn't happen on v4.0 because the way to catch
warning changed (using pytest) and does not happen on master/4.3 because
some new code was added to detect if the file is a valid FITS file.
@saimn saimn added this to the v4.2.1 milestone Mar 26, 2021
@pllim pllim added the Bug label Mar 27, 2021
@pllim
pllim requested a review from eteq March 27, 2021 00:24

@pllim pllim left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The failures I see now are either cause by pyerfa or samp (#11411). Thanks, @saimn !

@saimn
saimn merged commit 154d4e2 into astropy:v4.2.x Mar 27, 2021
@saimn
saimn deleted the fits-fix-resource-warning-test branch March 27, 2021 22:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants