FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

GH-106747: Improve `Path.glob()` expectations in pathlib tests by barneygale · Pull Request #112365 · python/cpython · GitHub

/ cpython Public

GH-106747: Improve Path.glob() expectations in pathlib tests - #112365

Merged
barneygale merged 2 commits into
python:mainfrom
barneygale:fix-glob-trailing-slash-expectation
Dec 3, 2023
Merged

GH-106747: Improve Path.glob() expectations in pathlib tests#112365
barneygale merged 2 commits into
python:mainfrom
barneygale:fix-glob-trailing-slash-expectation

Conversation

barneygale commented Nov 24, 2023
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Contributor

Add trailing slashes to expected Path.glob() results wherever a pattern has a trailing slash. This matches what glob.glob() produces.

Due to another bug (GH-65238) pathlib strips all trailing slashes, so this change is academic for now.

Add trailing slashes to expected `Path.glob()` results wherever a pattern
has a trailing slash. This matches what `glob.glob()` produces.

Due to another bug (pythonGH-65238) pathlib strips all trailing slashes, so this
change is academic for now.
barneygale merged commit 09505c5 into python:main Dec 3, 2023
aisk pushed a commit to aisk/cpython that referenced this pull request Feb 11, 2024
…ython#112365)

Add trailing slashes to expected `Path.glob()` results wherever a pattern
has a trailing slash. This matches what `glob.glob()` produces.

Due to another bug (pythonGH-65238) pathlib strips all trailing slashes, so this
change is academic for now.
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request Sep 2, 2024
…ython#112365)

Add trailing slashes to expected `Path.glob()` results wherever a pattern
has a trailing slash. This matches what `glob.glob()` produces.

Due to another bug (pythonGH-65238) pathlib strips all trailing slashes, so this
change is academic for now.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

1 participant


Back | FazBrowse Home | New Git URL