Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

GH-110109: Test pure functionality ofpathlib.Path user subclasses#112242

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

@barneygale
Copy link
Contributor

@barneygalebarneygale commentedNov 18, 2023
edited by bedevere-appbot
Loading

AddPurePathTest as a superclass ofPathTest, and therefore alsoPathSubclassTest. This adds coverage of pure functionality in user subclasses ofpathlib.Path.

RemovePosixPathAsPureTest andWindowsPathAsPureTest, as they now duplicatePosixPathTest andWindowsPathTest.

This makes the MROs of test unit classes match the MROs of pathlib classes.

…assesAdd `PurePathTest` as a superclass of `PathTest`, and therefore also`PathSubclassTest`. This adds coverage of pure functionality in usersubclasses of `pathlib.Path`.Remove `PosixPathAsPureTest` and `WindowsPathAsPureTest`, as theynow duplicate `PosixPathTest` and `WindowsPathTest`.This makes the MROs of test unit classes match the MROs of pathlibclasses.
@barneygalebarneygale added testsTests in the Lib/test dir skip news topic-pathlib labelsNov 18, 2023
@bedevere-appbedevere-appbot mentioned this pull requestNov 18, 2023
8 tasks
@barneygalebarneygale merged commit607b5e3 intopython:mainNov 18, 2023
aisk pushed a commit to aisk/cpython that referenced this pull requestFeb 11, 2024
…asses (python#112242)Add `PurePathTest` as a superclass of `PathTest`, and therefore also`PathSubclassTest`. This adds coverage of pure functionality in usersubclasses of `pathlib.Path`.Remove `PosixPathAsPureTest` and `WindowsPathAsPureTest`, as theynow duplicate `PosixPathTest` and `WindowsPathTest`.This makes the MROs of test unit classes match the MROs of pathlibclasses.
Glyphack pushed a commit to Glyphack/cpython that referenced this pull requestSep 2, 2024
…asses (python#112242)Add `PurePathTest` as a superclass of `PathTest`, and therefore also`PathSubclassTest`. This adds coverage of pure functionality in usersubclasses of `pathlib.Path`.Remove `PosixPathAsPureTest` and `WindowsPathAsPureTest`, as theynow duplicate `PosixPathTest` and `WindowsPathTest`.This makes the MROs of test unit classes match the MROs of pathlibclasses.
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

skip newstestsTests in the Lib/test dirtopic-pathlib

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@barneygale

[8]ページ先頭

©2009-2025 Movatter.jp