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

Use pathlib.Path in tests #466

Merged
merged 1 commit into from
Jun 24, 2023
Merged

Use pathlib.Path in tests #466

merged 1 commit into from
Jun 24, 2023

Conversation

eumiro
Copy link
Contributor

@eumiro eumiro commented Jun 24, 2023

Replace all filesystem code with pathlib.Path objects and operations. Nothing is changed in the source code (and thus in the usage of the lib), only the tests have less boilerplate.

Usually all *_file string objects are replaced with *_path Path objects.

@theskumar
Copy link
Owner

This is excellent. Thanks you so much @eumiro !

@theskumar theskumar merged commit be96be2 into theskumar:main Jun 24, 2023
@eumiro eumiro deleted the pathlib_path branch June 24, 2023 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants