summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_urlparse.py
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2003-10-12 04:29:10 (GMT)
committerBrett Cannon <bcannon@gmail.com>2003-10-12 04:29:10 (GMT)
commit82860df4171b6b904bd64904291541f3c9642245 (patch)
tree8f80be4a9c7ba4311c050b2bd3a5b0004bd70922 /Lib/test/test_urlparse.py
parentaac6ae9f2605c7fb35c91317281924128416733e (diff)
downloadcpython-82860df4171b6b904bd64904291541f3c9642245.zip
cpython-82860df4171b6b904bd64904291541f3c9642245.tar.gz
cpython-82860df4171b6b904bd64904291541f3c9642245.tar.bz2
see rev. 1.13 for log message
Diffstat (limited to 'Lib/test/test_urlparse.py')
-rw-r--r--Lib/test/test_urlparse.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/Lib/test/test_urlparse.py b/Lib/test/test_urlparse.py
index 6744867..8932b3c 100644
--- a/Lib/test/test_urlparse.py
+++ b/Lib/test/test_urlparse.py
@@ -61,14 +61,12 @@ class UrlParseTestCase(unittest.TestCase):
self.checkJoin(RFC1808_BASE, 'g/', 'http://a/b/c/g/')
self.checkJoin(RFC1808_BASE, '/g', 'http://a/g')
self.checkJoin(RFC1808_BASE, '//g', 'http://g')
- self.checkJoin(RFC1808_BASE, '?y', 'http://a/b/c/d;p?y')
self.checkJoin(RFC1808_BASE, 'g?y', 'http://a/b/c/g?y')
self.checkJoin(RFC1808_BASE, 'g?y/./x', 'http://a/b/c/g?y/./x')
self.checkJoin(RFC1808_BASE, '#s', 'http://a/b/c/d;p?q#s')
self.checkJoin(RFC1808_BASE, 'g#s', 'http://a/b/c/g#s')
self.checkJoin(RFC1808_BASE, 'g#s/./x', 'http://a/b/c/g#s/./x')
self.checkJoin(RFC1808_BASE, 'g?y#s', 'http://a/b/c/g?y#s')
- self.checkJoin(RFC1808_BASE, ';x', 'http://a/b/c/d;x')
self.checkJoin(RFC1808_BASE, 'g;x', 'http://a/b/c/g;x')
self.checkJoin(RFC1808_BASE, 'g;x?y#s', 'http://a/b/c/g;x?y#s')
self.checkJoin(RFC1808_BASE, '.', 'http://a/b/c/')
@@ -103,9 +101,8 @@ class UrlParseTestCase(unittest.TestCase):
def test_RFC2396(self):
# cases from RFC 2396
- ### urlparse.py as of v 1.32 fails on these two
- #self.checkJoin(RFC2396_BASE, '?y', 'http://a/b/c/?y')
- #self.checkJoin(RFC2396_BASE, ';x', 'http://a/b/c/;x')
+ self.checkJoin(RFC2396_BASE, '?y', 'http://a/b/c/?y')
+ self.checkJoin(RFC2396_BASE, ';x', 'http://a/b/c/;x')
self.checkJoin(RFC2396_BASE, 'g:h', 'g:h')
self.checkJoin(RFC2396_BASE, 'g', 'http://a/b/c/g')