Skip to content

[3.12] gh-129350: Make tests for glob with trailing slash more strict (GH-129376) #129652

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 1 commit into from
Feb 4, 2025

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Feb 4, 2025

Test that the trailing pathname separator is preserved.

Multiple trailing pathname separators are only preserved if the pattern
does not contain metacharacters, otherwise only one trailing pathname
separator is preserved. This is rather an implementation detail.
(cherry picked from commit 8b5c850)

Co-authored-by: Serhiy Storchaka [email protected]

…ythonGH-129376)

Test that the trailing pathname separator is preserved.

Multiple trailing pathname separators are only preserved if the pattern
does not contain metacharacters, otherwise only one trailing pathname
separator is preserved. This is rather an implementation detail.
(cherry picked from commit 8b5c850)

Co-authored-by: Serhiy Storchaka <[email protected]>
@bedevere-app bedevere-app bot added tests Tests in the Lib/test dir awaiting review labels Feb 4, 2025
@serhiy-storchaka serhiy-storchaka enabled auto-merge (squash) February 4, 2025 14:26
@serhiy-storchaka serhiy-storchaka merged commit 676ee57 into python:3.12 Feb 4, 2025
30 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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants