GH-106747: Improve `Path.glob()` expectations in pathlib tests by barneygale · Pull Request #112365 · python/cpython
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.
aisk pushed a commit to aisk/cpython that referenced this pull request
…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
…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