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-93096: fixtest_mimetypes.test_invocation_error tests on iOS ARM64#132266

Merged
picnixz merged 2 commits intopython:mainfrom
picnixz:fix/tests/mimetypes-ios-arm-93096
Apr 8, 2025
Merged

gh-93096: fixtest_mimetypes.test_invocation_error tests on iOS ARM64#132266
picnixz merged 2 commits intopython:mainfrom
picnixz:fix/tests/mimetypes-ios-arm-93096

Conversation

@picnixz
Copy link
Member

@picnixzpicnixz commentedApr 8, 2025
edited by bedevere-appbot
Loading

@picnixz

This comment was marked as resolved.

@bedevere-bot

This comment was marked as resolved.

@picnixz

This comment was marked as resolved.

@bedevere-bot

This comment was marked as resolved.

@picnixzpicnixz requested a review fromhugovkApril 8, 2025 11:58
@picnixz
Copy link
MemberAuthor

On iOS, mocking didn't seem to work correctly (and I don't know why) so we'll just make something even more unknown. Ifbar_ext is a registered extension, then I think the system is really weird.

@picnixz
Copy link
MemberAuthor

And I forgot to print the help correctly...

@picnixz

This comment was marked as resolved.

@bedevere-bot

This comment was marked as resolved.

@picnixz
Copy link
MemberAuthor

Hum. Interestingly, on mainpython -m mimetypes actually exits before printing the help. So technically... it's not even needed:

$ python -m mimetypesusage: python -m mimetypes [-h] [-e] [-l] type [type ...]python -m mimetypes: error: the following arguments are required: type

The (incorrect)return parser.format_help() is not even reached because_parse_args() is already raising SystemExit (this is because the argument is required!)

@picnixz
Copy link
MemberAuthor

picnixz commentedApr 8, 2025
edited
Loading

Great, the test suite now passes on iOS (still running):

0:08:04 load avg: 31.35 [278/486] test_mimetypes0:08:04 load avg: 44.62 [278/486] test_mimetypes passed

@picnixz

This comment was marked as resolved.

@bedevere-bot

This comment was marked as resolved.

@picnixzpicnixz merged commitf5a7037 intopython:mainApr 8, 2025
42 of 44 checks passed
@picnixzpicnixz deleted the fix/tests/mimetypes-ios-arm-93096 branchApril 8, 2025 13:03
@johnzhou721
Copy link
Contributor

FWIW: Same behavior reproducible on macOS Sonoma on Alpha 1, but it's now resovled..

johnzhou721 pushed a commit to johnzhou721/cpython that referenced this pull requestMay 17, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@hugovkhugovkAwaiting requested review from hugovk

Assignees

No one assigned

Labels

skip newstestsTests in the Lib/test dir

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@picnixz@bedevere-bot@johnzhou721

Comments


[8]ページ先頭

©2009-2026 Movatter.jp