https://github.com/python/cpython
Revision d3f9fb2d28ceedb0a17a703338424ff284a578c8 authored by Miss Islington (bot) on 11 February 2020, 15:32:40 UTC, committed by GitHub on 11 February 2020, 15:32:40 UTC

* 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>
1 parent 40ef4fc
History
Tip revision: d3f9fb2d28ceedb0a17a703338424ff284a578c8 authored by Miss Islington (bot) on 11 February 2020, 15:32:40 UTC
bpo-39299: Add more tests for mimetypes and its cli. (GH-17949)
Tip revision: d3f9fb2
File Mode Size
.azure-pipelines
.github
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Programs
Python
Tools
m4
.gitattributes -rw-r--r-- 1.8 KB
.gitignore -rw-r--r-- 1.7 KB
.travis.yml -rw-r--r-- 8.1 KB
CODE_OF_CONDUCT.md -rw-r--r-- 630 bytes
LICENSE -rw-r--r-- 12.5 KB
Makefile.pre.in -rw-r--r-- 66.0 KB
README.rst -rw-r--r-- 9.8 KB
aclocal.m4 -rw-r--r-- 10.7 KB
config.guess -rwxr-xr-x 43.1 KB
config.sub -rwxr-xr-x 35.4 KB
configure -rwxr-xr-x 491.4 KB
configure.ac -rw-r--r-- 162.5 KB
install-sh -rwxr-xr-x 15.0 KB
pyconfig.h.in -rw-r--r-- 44.2 KB
setup.py -rw-r--r-- 101.7 KB

README.rst

back to top