diff options
author | Barry Warsaw <barry@python.org> | 2003-11-23 16:21:55 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2003-11-23 16:21:55 (GMT) |
commit | ceca5d29243cae41f5304fa16bf54b7258f6ad42 (patch) | |
tree | 34035b0254f88c985ffac44087d0ae6ddc0b0080 /Lib/pty.py | |
parent | 49ba4c39c49ff6b1db666e6c90365fc1361c4a64 (diff) | |
download | cpython-ceca5d29243cae41f5304fa16bf54b7258f6ad42.zip cpython-ceca5d29243cae41f5304fa16bf54b7258f6ad42.tar.gz cpython-ceca5d29243cae41f5304fa16bf54b7258f6ad42.tar.bz2 |
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.
Diffstat (limited to 'Lib/pty.py')
0 files changed, 0 insertions, 0 deletions