-
-
Notifications
You must be signed in to change notification settings - Fork 607
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
Drop parfive less than 2 #6942
Drop parfive less than 2 #6942
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -114,6 +114,16 @@ def undo_config_dir_patch(): | |
os.environ["SUNPY_CONFIGDIR"] = oridir | ||
|
||
|
||
@pytest.fixture(scope='session', autouse=True) | ||
def parfive_header_test(request): | ||
""" | ||
Add a keyword to tell parfive this is a test run. | ||
""" | ||
os.environ["PARFIVE_SUNPY_TESTS"] = "True" | ||
yield | ||
del os.environ["PARFIVE_SUNPY_TESTS"] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Was not sure how to do this, so I did this as it was quick. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Seems legit to me 👍 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah this seems good, but why don't we make this a generic environment var for being in our test suite? We might have other non-parfive uses for it in the future? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I can do that. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Was not sure what to call it, so I made one up. |
||
|
||
|
||
@pytest.fixture(scope='session', autouse=True) | ||
def hide_parfive_progress(request): | ||
""" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should go in a new changelog entry, so it's linked with this PR and not the one corresponding to this file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.