Skip to content

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Mar 11, 2025

Conversation

barneygale
Copy link
Contributor

@barneygale barneygale commented Mar 9, 2025

Test pathlib.types._ReadablePath in a dedicated test module. These tests cover ReadableZipPath, ReadableLocalPath and Path, where the former two classes are implementations of _ReadablePath for use in tests.

The ReadableZipPath 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 of ReadableZipPath, but it's useful for testing.

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

🤖 New build scheduled with the buildbot fleet by @barneygale for commit 65dcc8b 🤖

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-bot bedevere-bot removed the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Mar 11, 2025
@barneygale barneygale merged commit ad90c5f into python:main Mar 11, 2025
75 of 88 checks passed
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.

2 participants