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-133448: Fix test_file in test_urllib2 on Windows with a longer repo path#133449

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

Open
aisk wants to merge1 commit intopython:main
base:main
Choose a base branch
Loading
fromaisk:fix-urllib2-test

Conversation

aisk
Copy link
Contributor

@aiskaisk commentedMay 5, 2025
edited
Loading

Before this PR, theurl would become something likefile://somerandomhost.ontheinternet.comC:\Users\xxxxx\Source\cpython\build\test_python_worker_4676æ/@test_4676_tmpæ on Windows, which would fail (more details in the linked issue).

In this PR, theurl becomesfile://somerandomhost.ontheinternet.com/Users/xxxxx/Source/cpython/build/test_python_worker_4676æ/@test_4676_tmpæ, which is valid and expected.

@sharktide
Copy link
Contributor

@aisk NB: The review would go a lot faster if you were to add a short PR description of your changes

@aisk
Copy link
ContributorAuthor

aisk commentedMay 6, 2025

@sharktide Thanks for noticing, updated!

Copy link
Contributor

@sharktidesharktide left a comment

Choose a reason for hiding this comment

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

I know this is kinda a stupid question, but have you tested this new version of your test script on a windows long path? (I know people who wouldn't not saying its you just trying to expedite the core review process then) :)

*GitHub Actions won't fail because it is a short path.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@sharktidesharktidesharktide left review comments

Assignees
No one assigned
Labels
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@aisk@sharktide

[8]ページ先頭

©2009-2025 Movatter.jp