Skip to content

gh-93417: Improve test_mimetypes#150725

Merged
serhiy-storchaka merged 1 commit into
python:mainfrom
serhiy-storchaka:test-mimetypes-init-files
Jun 1, 2026
Merged

gh-93417: Improve test_mimetypes#150725
serhiy-storchaka merged 1 commit into
python:mainfrom
serhiy-storchaka:test-mimetypes-init-files

Conversation

@serhiy-storchaka
Copy link
Copy Markdown
Member

@serhiy-storchaka serhiy-storchaka commented Jun 1, 2026

  • Separate tests for module-level API and for the MimeTypes class.
  • Add tests for mimetypes.init() and MimeTypes() with knownfiles and with explicitly passed files.

* Separate tests for module-level API and for the MimeTypes class.
* Add tests for mimetypes.init() and MimeTypes() with knownfiles and with
  explicitly passed files.
@serhiy-storchaka serhiy-storchaka requested a review from a team as a code owner June 1, 2026 16:53
@serhiy-storchaka serhiy-storchaka added tests Tests in the Lib/test dir skip news needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes needs backport to 3.15 pre-release feature fixes, bugs and security fixes labels Jun 1, 2026
@serhiy-storchaka serhiy-storchaka merged commit b23646a into python:main Jun 1, 2026
100 of 103 checks passed
@miss-islington-app
Copy link
Copy Markdown

Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14, 3.15.
🐍🍒⛏🤖

@serhiy-storchaka serhiy-storchaka deleted the test-mimetypes-init-files branch June 1, 2026 20:02
@miss-islington-app
Copy link
Copy Markdown

Sorry, @serhiy-storchaka, I could not cleanly backport this to 3.15 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker b23646adf1f484d6ee61ea04529b48443508715a 3.15

@miss-islington-app
Copy link
Copy Markdown

Sorry, @serhiy-storchaka, I could not cleanly backport this to 3.14 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker b23646adf1f484d6ee61ea04529b48443508715a 3.14

@miss-islington-app
Copy link
Copy Markdown

Sorry, @serhiy-storchaka, I could not cleanly backport this to 3.13 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker b23646adf1f484d6ee61ea04529b48443508715a 3.13

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

Labels

needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes needs backport to 3.15 pre-release feature fixes, bugs and security fixes skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant