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-89812: Make symlink support configurable in pathlib tests.#106060

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 commentedJun 24, 2023
edited by bedevere-bot
Loading

Adjust the pathlib tests to add a newPathTest.can_symlink class attribute, which allows us to enable or disable symlink support in tests. A (near-)future commit will add anAbstractPath class; its tests will hard-code the value toTrue orFalse depending on a stub subclass's capabilities.

Adjust the pathlib tests to add a new `PathTest.can_symlink` classattribute, which allows us to enable or disable symlink support in tests.A (near-)future commit will add an `AbstractPath` class; its tests willhard-code the value to `True` or `False` depending on a stub subclass'scapabilities.
Copy link
Member

@CAM-GerlachCAM-Gerlach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Not an expert, but the change seems reasonable, motivated and straightforward to me, and I didn't spot any obvious issues with the implementation reading through it.

@CAM-Gerlach
Copy link
Member

Youmight want to consider running against the buildbot fleet if you thing there's a chance this might trigger any behavior difference on different platforms, given the previous platform dependent code (special casing windows).

barneygale reacted with thumbs up emoji

@barneygale
Copy link
ContributorAuthor

Youmight want to consider running against the buildbot fleet if you thing there's a chance this might trigger any behavior difference on different platforms, given the previous platform dependent code (special casing windows).

Good idea! How do I do that? :)

@barneygalebarneygale added the 🔨 test-with-buildbotsTest PR w/ buildbots; report in status section labelJun 30, 2023
@bedevere-bot
Copy link

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

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 labelJun 30, 2023
@barneygalebarneygale merged commit3fd99b5 intopython:mainJul 1, 2023
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@CAM-GerlachCAM-GerlachCAM-Gerlach approved these changes

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.

3 participants
@barneygale@CAM-Gerlach@bedevere-bot

[8]ページ先頭

©2009-2025 Movatter.jp