-
-
Notifications
You must be signed in to change notification settings - Fork 129
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
Replace tmpdir with tmp_path #1095
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #1095 +/- ##
=======================================
Coverage 70.73% 70.73%
=======================================
Files 64 64
Lines 4483 4483
=======================================
Hits 3171 3171
Misses 1312 1312 ☔ View full report in Codecov by Sentry. |
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.
Seems uncontroversial enough though maybe one of the tests does not need tmp_path
in the first place.
Co-authored-by: P. L. Lim <[email protected]>
@@ -366,7 +366,7 @@ def generate_s3d_wcs(): | |||
|
|||
|
|||
@pytest.fixture() | |||
def tmp_asdf(tmpdir): | |||
def tmp_asdf(): |
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.
What hurts my head is tmp_asdf
itself is a fixture but it took in tmpdir
fixture. What was it trying to do?
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.
It is a mystery 😕
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.
LGTM now as long as CI agrees with me. Thanks!
I will let you merge. |
* Replace tmpdir with tmp_path * Fix path construction * Removed unused tmp_path Co-authored-by: P. L. Lim <[email protected]> --------- Co-authored-by: P. L. Lim <[email protected]>
* TST: Pin casa-formats-io in oldest-deps job because it is upgrading numpy but we do not want that to happen. * Replace tmpdir with tmp_path (#1095) * Replace tmpdir with tmp_path * Fix path construction * Removed unused tmp_path Co-authored-by: P. L. Lim <[email protected]> --------- Co-authored-by: P. L. Lim <[email protected]> * Fix devdeps and clean up matrix and stuff * Use astropy>=5.3 for doctest * Add tox back in --------- Co-authored-by: Ricky O'Steen <[email protected]> Co-authored-by: Ricky O'Steen <[email protected]>
* TST: Pin casa-formats-io in oldest-deps job because it is upgrading numpy but we do not want that to happen. * Replace tmpdir with tmp_path (astropy#1095) * Replace tmpdir with tmp_path * Fix path construction * Removed unused tmp_path Co-authored-by: P. L. Lim <[email protected]> --------- Co-authored-by: P. L. Lim <[email protected]> * Fix devdeps and clean up matrix and stuff * Use astropy>=5.3 for doctest * Add tox back in --------- Co-authored-by: Ricky O'Steen <[email protected]> Co-authored-by: Ricky O'Steen <[email protected]>
Closes #1039 .