Skip to content

Simplify repetition of many pytest.xfail by making it a decorator. - #10425

Merged
mhvk merged 1 commit into
astropy:masterfrom
mhvk:simplify-array-function-tests
Jun 2, 2020
Merged

mhvk merged 1 commit into
astropy:masterfrom
mhvk:simplify-array-function-tests

Conversation

@mhvk

@mhvk mhvk commented Jun 2, 2020

Copy link
Copy Markdown
Contributor

Looking at #10337, I see that this commit just hinders review, so let me pull it out. It only makes the test look a little less clunky.

@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.

Hard to argue with 50% code reduction. 👍

I'll leave it open for others to review too but LGTM. Thanks!

@mhvk

mhvk commented Jun 2, 2020

Copy link
Copy Markdown
Contributor Author

Thanks, @pllim! I think I'll just merge, since if @adrn has time, I'd rather he look at some of the other PRs! And really this is a simple PR, mostly one where I wished I had known how simple things could be earlier...

@mhvk
mhvk merged commit 68ad95f into astropy:master Jun 2, 2020
@mhvk
mhvk deleted the simplify-array-function-tests branch June 2, 2020 21:43
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