]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-93417: Improve test_mimetypes (GH-150725) (GH-153750)
authorSerhiy Storchaka <storchaka@gmail.com>
Wed, 15 Jul 2026 09:05:31 +0000 (12:05 +0300)
committerGitHub <noreply@github.com>
Wed, 15 Jul 2026 09:05:31 +0000 (09:05 +0000)
commit824df7fe7a38cfa1326f242031c19475cc26fdf4
treeaa3fd70ceb9590b48266bff9ba45349d9082433a
parent70d6c855650346de2cf58eaa0f29372926fb2fde
[3.13] gh-93417: Improve test_mimetypes (GH-150725) (GH-153750)

* 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.

(cherry picked from commit b23646adf1f484d6ee61ea04529b48443508715a)
Lib/test/mime.types2 [new file with mode: 0644]
Lib/test/test_mimetypes.py