diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2020-02-11 07:32:40 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-11 07:32:40 -0800 |
commit | d3f9fb2d28ceedb0a17a703338424ff284a578c8 (patch) | |
tree | 96697d4803be5fcc93acd3783b63c025123eb191 /Python/sysmodule.c | |
parent | 40ef4fc07e64be93522bc705c3d8a954a62b9ded (diff) | |
download | cpython-d3f9fb2d28ceedb0a17a703338424ff284a578c8.tar.gz cpython-d3f9fb2d28ceedb0a17a703338424ff284a578c8.zip |
bpo-39299: Add more tests for mimetypes and its cli. (GH-17949)
* Add tests for case insensitive check of types and extensions as fallback.
* Add tests for data url with no comma.
* Add tests for read_mime_types.
* Add tests for the mimetypes cli and refactor __main__ code to private function.
* Restore mimetypes.knownfiles value at the end of the test.
(cherry picked from commit d8efc1495194228c3a4cd472200275d6491d8e2d)
Co-authored-by: Karthikeyan Singaravelan <tir.karthi@gmail.com>
Diffstat (limited to 'Python/sysmodule.c')
0 files changed, 0 insertions, 0 deletions