]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
test_guess_all_types(): Use a more robust test for checking that
authorBarry Warsaw <barry@python.org>
Sun, 23 Nov 2003 16:17:42 +0000 (16:17 +0000)
committerBarry Warsaw <barry@python.org>
Sun, 23 Nov 2003 16:17:42 +0000 (16:17 +0000)
commitc9de825249868d8cea975acc92ce64c9181938e2
tree611375c532bb5e1900fd59520853fcb70260cbc6
parent3c64e7ac58ed0afbd8265cf5c383251a565bdb29
test_guess_all_types(): Use a more robust test for checking that
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.
Lib/test/test_mimetypes.py