summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_urlparse.py
diff options
context:
space:
mode:
authorSenthil Kumaran <senthil@uthcode.com>2011-08-03 10:37:22 (GMT)
committerSenthil Kumaran <senthil@uthcode.com>2011-08-03 10:37:22 (GMT)
commit2a157d2a3d76960e696ef8004c237de4b424302e (patch)
tree648c7d3a78cef8e02b6058dee4b1e114eb7cba6a /Lib/test/test_urlparse.py
parent86a1a8974dc23b2cdcb6cac3cb0babbfc6af296c (diff)
downloadcpython-2a157d2a3d76960e696ef8004c237de4b424302e.zip
cpython-2a157d2a3d76960e696ef8004c237de4b424302e.tar.gz
cpython-2a157d2a3d76960e696ef8004c237de4b424302e.tar.bz2
Fix closes issue12683 - urljoin to work with relative join of svn scheme.
Diffstat (limited to 'Lib/test/test_urlparse.py')
-rw-r--r--Lib/test/test_urlparse.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_urlparse.py b/Lib/test/test_urlparse.py
index 72f3776..af200d5 100644
--- a/Lib/test/test_urlparse.py
+++ b/Lib/test/test_urlparse.py
@@ -371,6 +371,8 @@ class UrlParseTestCase(unittest.TestCase):
self.checkJoin('http:///', '..','http:///')
self.checkJoin('', 'http://a/b/c/g?y/./x','http://a/b/c/g?y/./x')
self.checkJoin('', 'http://a/./g', 'http://a/./g')
+ self.checkJoin('svn://pathtorepo/dir1', 'dir2', 'svn://pathtorepo/dir2')
+ self.checkJoin('svn://pathtorepo/dir1', 'dir2', 'svn://pathtorepo/dir2')
def test_RFC2732(self):
str_cases = [