summaryrefslogtreecommitdiff
path: root/Lib/test/test_urllib2.py
diff options
context:
space:
mode:
authorAbhilash Raj <maxking@users.noreply.github.com>2019-10-11 22:41:35 -0700
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-10-11 22:41:35 -0700
commit19a3d873005e5730eeabdc394c961e93f2ec02f0 (patch)
tree888187697cbe6cd398211a1ba309a313a934ffbe /Lib/test/test_urllib2.py
parent2b7dc40b2af6578181808ba73c1533fc114e55df (diff)
downloadcpython-git-19a3d873005e5730eeabdc394c961e93f2ec02f0.tar.gz
bpo-38449: Revert "bpo-22347: Update mimetypes.guess_type to allow oper parsing of URLs (GH-15522)" (GH-16724)
This reverts commit 87bd2071c756188b6cd577889fb1682831142ceb. https://bugs.python.org/issue38449
Diffstat (limited to 'Lib/test/test_urllib2.py')
-rw-r--r--Lib/test/test_urllib2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_urllib2.py b/Lib/test/test_urllib2.py
index 186a967659..8abedaac98 100644
--- a/Lib/test/test_urllib2.py
+++ b/Lib/test/test_urllib2.py
@@ -742,7 +742,7 @@ class HandlerTests(unittest.TestCase):
["foo", "bar"], "", None),
("ftp://localhost/baz.gif;type=a",
"localhost", ftplib.FTP_PORT, "", "", "A",
- [], "baz.gif", "image/gif"),
+ [], "baz.gif", None), # XXX really this should guess image/gif
]:
req = Request(url)
req.timeout = None