Skip to content

Use pathlib.Path in tests#466

Merged
theskumar merged 1 commit intotheskumar:mainfrom
eumiro:pathlib_path
Jun 24, 2023
Merged

Use pathlib.Path in tests#466
theskumar merged 1 commit intotheskumar:mainfrom
eumiro:pathlib_path

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