mirror of
https://github.com/python/cpython.git
synced 2025-09-07 01:11:26 +00:00
gh-93096: fix test_mimetypes.test_invocation_error
tests on iOS ARM64 (#132266)
This commit is contained in:
parent
0e4cf9ce7c
commit
f5a7037c32
2 changed files with 5 additions and 6 deletions
|
@ -706,7 +706,7 @@ def _main(args=None):
|
|||
if guess:
|
||||
return f"type: {guess} encoding: {encoding}"
|
||||
sys.exit(f"error: media type unknown for {gtype}")
|
||||
return parser.format_help()
|
||||
return help_text
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue