FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

GH-89812: Clean up pathlib tests. by barneygale · Pull Request #104829 · python/cpython · GitHub

/ cpython Public

GH-89812: Clean up pathlib tests. - #104829

Merged
ambv merged 4 commits into
python:mainfrom
barneygale:simplify-pathlib-tests
Jun 14, 2023
Merged

GH-89812: Clean up pathlib tests.#104829
ambv merged 4 commits into
python:mainfrom
barneygale:simplify-pathlib-tests

Conversation

barneygale commented May 24, 2023
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Contributor

Merge PurePathTest into _BasePurePathTest, and PathTest into _BasePathTest. No change of coverage.

Merge `PurePathTest` into `_BasePurePathTest`, and `PathTest` into
`_BasePathTest`.

Copy link
Copy Markdown
Contributor Author

Note that the _BasePurePathTest and _BasePathTest classes reflect a time long ago when pathlib had pathlib._BasePurePath and pathlib._BasePath classes. These haven't existed since pathlib was an independent package. We may re-introduce them in future (see #104810), but they will look rather different!

barneygale changed the title Clean up pathlib tests. GH-89812: Clean up pathlib tests. Jun 3, 2023

ambv commented Jun 13, 2023

Copy link
Copy Markdown
Contributor

This depends on GH-105744.

barneygale requested a review from ambv June 13, 2023 20:45

ambv commented Jun 14, 2023

Copy link
Copy Markdown
Contributor

I currently don't have a Windows box to test the coverage with, but I tested on macOS and Linux and this looks good to me. Let's go for it! Thanks for the cleanup, Barney! ✨ 🍰 ✨

ambv merged commit dab5a3e into python:main Jun 14, 2023

ambv commented Jun 14, 2023

Copy link
Copy Markdown
Contributor

(If you're curious to check on Windows, the guide is good: https://devguide.python.org/testing/coverage/)

Copy link
Copy Markdown
Contributor Author

Thank you for the review, Łukasz!

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir topic-pathlib

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL