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

Move generation of test directory to utils #700

Merged
merged 4 commits into from Sep 5, 2019

Conversation

mwcraig
Copy link
Member

@mwcraig mwcraig commented Sep 4, 2019

This fixes #699 by moving generation of a sample directory out of the tests and into utils.

@mwcraig mwcraig modified the milestones: 2.0.1, 2.1 Sep 4, 2019
@mwcraig mwcraig modified the milestones: 2.1.0, 2.0.1 Sep 4, 2019
@mwcraig
Copy link
Member Author

mwcraig commented Sep 4, 2019

This passed locally, I swear...

@mwcraig
Copy link
Member Author

mwcraig commented Sep 4, 2019

@crawfordsm @MSeifert04 -- could I get a quick review of this?

@MSeifert04
Copy link
Contributor

Just from a quick glance: Can't we now import the directory_for_testing in the pytest_fixtures.py file to avoid duplicating the code?

@MSeifert04
Copy link
Contributor

MSeifert04 commented Sep 4, 2019

Thanks Matt 👍, I wonder if we really want to make a bugfix release instead of a minor release?

@mwcraig mwcraig modified the milestones: 2.1.0, 2.0.1 Sep 5, 2019
@mwcraig
Copy link
Member Author

mwcraig commented Sep 5, 2019

Can't we now import the directory_for_testing in the pytest_fixtures.py file to avoid duplicating the code?

yeah, thought I had done that. I accidentally had files open from two different directories this morning, apparently.

@mwcraig mwcraig merged commit a220680 into astropy:master Sep 5, 2019
mwcraig added a commit that referenced this pull request Sep 6, 2019
Move generation of test directory to utils
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.

Problem in version 2.0.0
2 participants