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-130614: pathlib ABCs: revise test suite for readable paths#131018

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
barneygale merged 5 commits intopython:mainfrombarneygale:gh-130614-test-read
Mar 11, 2025

Conversation

barneygale
Copy link
Contributor

@barneygalebarneygale commentedMar 9, 2025
edited by bedevere-appbot
Loading

Testpathlib.types._ReadablePath in a dedicated test module. These tests coverReadableZipPath,ReadableLocalPath andPath, where the former two classes are implementations of_ReadablePath for use in tests.

TheReadableZipPath implementation is reasonably complex because it supports following symlinks when resolving paths. Recording symlinks in.zip files isn't widely supported, so this feature would probably never be added to a practical implementation ofReadableZipPath, but it's useful for testing.

Test `pathlib.types._ReadablePath` in a dedicated test module. These testscover `ReadableZipPath`, `ReadableLocalPath` and `Path`, where the formertwo classes are implementations of `_ReadablePath` for use in tests.
@barneygalebarneygale added the 🔨 test-with-buildbotsTest PR w/ buildbots; report in status section labelMar 11, 2025
@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by@barneygale for commit65dcc8b 🤖

Results will be shown at:

https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F131018%2Fmerge

If you want to schedule another build, you need to add the🔨 test-with-buildbots label again.

@bedevere-botbedevere-bot removed the 🔨 test-with-buildbotsTest PR w/ buildbots; report in status section labelMar 11, 2025
@barneygalebarneygale merged commitad90c5f intopython:mainMar 11, 2025
75 of 88 checks passed
seehwan pushed a commit to seehwan/cpython that referenced this pull requestApr 16, 2025
…ython#131018)Test `pathlib.types._ReadablePath` in a dedicated test module. These testscover `ReadableZipPath`, `ReadableLocalPath` and `Path`, where the formertwo classes are implementations of `_ReadablePath` for use in tests.
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.

2 participants
@barneygale@bedevere-bot

[8]ページ先頭

©2009-2025 Movatter.jp