summaryrefslogtreecommitdiff
path: root/Lib/test/test_urllib2net.py
diff options
context:
space:
mode:
authorSenthil Kumaran <orsenthil@gmail.com>2011-04-13 07:31:45 +0800
committerSenthil Kumaran <orsenthil@gmail.com>2011-04-13 07:31:45 +0800
commit49c440877e2d13bb545243ad2cb427272f530cab (patch)
treead9044709bb2d2a0eb0520bbef6f1fcd8e026530 /Lib/test/test_urllib2net.py
parent7c9d34722db06cac1042c7a3ae0deb92c2b41dfb (diff)
downloadcpython-git-49c440877e2d13bb545243ad2cb427272f530cab.tar.gz
Fix Issue11703 - urllib2.get_url does not handle fragment in url properly.
Diffstat (limited to 'Lib/test/test_urllib2net.py')
-rw-r--r--Lib/test/test_urllib2net.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_urllib2net.py b/Lib/test/test_urllib2net.py
index 1a7477e780..867fcfa41e 100644
--- a/Lib/test/test_urllib2net.py
+++ b/Lib/test/test_urllib2net.py
@@ -160,7 +160,7 @@ class OtherNetworkTests(unittest.TestCase):
req = urllib2.Request(urlwith_frag)
res = urllib2.urlopen(req)
self.assertEqual(res.geturl(),
- "http://docs.python.org/glossary.html")
+ "http://docs.python.org/glossary.html#glossary")
def test_fileno(self):
req = urllib2.Request("http://www.python.org")