diff options
| author | Senthil Kumaran <orsenthil@gmail.com> | 2011-04-12 23:31:45 (GMT) |
|---|---|---|
| committer | Senthil Kumaran <orsenthil@gmail.com> | 2011-04-12 23:31:45 (GMT) |
| commit | 49c440877e2d13bb545243ad2cb427272f530cab (patch) | |
| tree | ad9044709bb2d2a0eb0520bbef6f1fcd8e026530 /Lib/test/test_urllib2net.py | |
| parent | 7c9d34722db06cac1042c7a3ae0deb92c2b41dfb (diff) | |
| download | cpython-49c440877e2d13bb545243ad2cb427272f530cab.zip cpython-49c440877e2d13bb545243ad2cb427272f530cab.tar.gz cpython-49c440877e2d13bb545243ad2cb427272f530cab.tar.bz2 | |
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.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_urllib2net.py b/Lib/test/test_urllib2net.py index 1a7477e..867fcfa 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") |
