Skip to content

Conversation

KevsterAmp
Copy link
Contributor


def test_compression_read(parser, compression_only):
def test_compression_read(parser, compression_only, temp_file):
with tm.ensure_clean() as comp_path:
Copy link
Member

Choose a reason for hiding this comment

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

Can you replace this too (by using tmp_path)?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah sorry I missed a couple of ensure_clean() functions on this file. Will put the PR on draft until I commit the changes needed for this

@mroeschke mroeschke added the Testing pandas testing functions or related to the test suite label Oct 9, 2025
@KevsterAmp KevsterAmp marked this pull request as draft October 9, 2025 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Testing pandas testing functions or related to the test suite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TST: Replace ensure_clean utility function with the temp_file pytest fixture

2 participants