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

gh-117381: Fix error message for `ntpath.commonpath` by nineteendo · Pull Request #117382 · python/cpython · GitHub

Repository navigation

gh-117381: Fix error message for ntpath.commonpath - #117382

Merged
serhiy-storchaka merged 5 commits into
python:mainfrom
nineteendo:fix-ntpath.commonpath
Apr 3, 2024
Merged

serhiy-storchaka merged 5 commits into
python:mainfrom
nineteendo:fix-ntpath.commonpath

Conversation

nineteendo commented Mar 29, 2024 •
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Contributor

nineteendo mentioned this pull request Mar 29, 2024
16 tasks done
nineteendo marked this pull request as ready for review March 29, 2024 21:50

aisk commented Mar 31, 2024

Copy link
Copy Markdown
Member

I think maybe we need a test to ensure the expected error will be raised.

nineteendo commented Mar 31, 2024 •
edited
Loading

Copy link
Copy Markdown
Contributor Author

There are now assertRaisesRegex tests for all these cases:

Created with https://csacademy.com/app/graph_editor (mermaid can't connect horizontally):

D:/foo C:/foo
D:/foo C:foo
D:foo C:/foo
D:foo C:foo
C:/foo C:foo
C:/foo /foo
C:/foo foo
C:foo /foo
C:foo foo
/foo foo

Comment thread Lib/test/test_ntpath.py Outdated
Comment thread Lib/test/test_ntpath.py Outdated

serhiy-storchaka left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM.

serhiy-storchaka merged commit 2ec6bb4 into python:main Apr 3, 2024
nineteendo deleted the fix-ntpath.commonpath branch April 3, 2024 13:11
nineteendo restored the fix-ntpath.commonpath branch April 3, 2024 14:25
nineteendo deleted the fix-ntpath.commonpath branch April 3, 2024 14:25
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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL