- 17 Tem, 2006 1 kayıt (commit)
-
-
Georg Brandl yazdı
-
- 06 Nis, 2006 1 kayıt (commit)
-
-
Anthony Baxter yazdı
will backport.
-
- 23 Kas, 2003 1 kayıt (commit)
-
-
Barry Warsaw yazdı
guess_all_extensions() returns (at least) what we expect. As Jeff Epler suggests in http://mail.python.org/pipermail/python-dev/2003-September/038264.html We use a set to test the results. This fixes the test when test_urllib2 is run before test_mimetypes.
-
- 18 Tem, 2003 1 kayıt (commit)
-
-
Jeremy Hylton yazdı
If some other test comes along and uses mimetypes, it will be initialized from the system files.
-
- 09 Haz, 2003 1 kayıt (commit)
-
-
Barry Warsaw yazdı
there are no matching types. Updated the docs and docstrings. Added some unit tests.
-
- 23 Tem, 2002 1 kayıt (commit)
-
-
Barry Warsaw yazdı
imports e.g. test_support must do so using an absolute package name such as "import test.test_support" or "from test import test_support". This also updates the README in Lib/test, and gets rid of the duplicate data dirctory in Lib/test/data (replaced by Lib/email/test/data). Now Tim and Jack can have at it. :)
-
- 30 Eki, 2001 1 kayıt (commit)
-
-
Tim Peters yazdı
-
- 25 Eki, 2001 1 kayıt (commit)
-
-
Barry Warsaw yazdı
non-standard but common types. Including Martin's suggestion to add rejected non-standard types from patch #438790. Specifically, guess_type(), guess_extension(): Both the functions and the methods grow an optional "strict" flag, defaulting to true, which determines whether to recognize non-standard, but commonly found types or not. Also, I sorted, reformatted, and culled duplicates from the big types_map dictionary. Note that there are a few non-equivalent duplicates (e.g. .cdf and .xls) for which the first will just get thrown away. I didn't remove those though. Finally, use of the module as a script as grown the -l and -e options to toggle strictness and to do guess_extension(), respectively. Doc and unittest updates too.
-
- 20 Eyl, 2001 1 kayıt (commit)
-
-
Fred Drake yazdı
allows using the tests with unittest.py as a script. The tests will still run when run as a script themselves.
-
- 16 Agu, 2001 1 kayıt (commit)
-
-
Fred Drake yazdı
-