[Python-checkins] python/dist/src/Lib/test/output test_urlparse,1.2.24.1,1.2.24.2
nnorwitz@users.sourceforge.net
nnorwitz@users.sourceforge.net
Wed, 25 Sep 2002 12:22:12 -0700
Update of /cvsroot/python/python/dist/src/Lib/test/output
In directory usw-pr-cvs1:/tmp/cvs-serv12249/Lib/test/output
Modified Files:
Tag: release22-maint
test_urlparse
Log Message:
Backport:
Fix SF # 591713, Fix "file:" URL to have right no. of /'s, by Bruce Atherton
Add a test too. urljoin() would make file:/tmp/foo instead of file:///tmp/foo
Index: test_urlparse
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/output/Attic/test_urlparse,v
retrieving revision 1.2.24.1
retrieving revision 1.2.24.2
diff -C2 -d -r1.2.24.1 -r1.2.24.2
*** test_urlparse 18 Mar 2002 13:03:40 -0000 1.2.24.1
--- test_urlparse 25 Sep 2002 19:22:10 -0000 1.2.24.2
***************
*** 4,7 ****
--- 4,8 ----
http://www.python.org/#abc = ('http', 'www.python.org', '/', '', '', 'abc')
http://a/b/c/d;p?q#f = ('http', 'a', '/b/c/d', 'p', 'q', 'f')
+ file:///tmp/junk.txt = ('file', '', '/tmp/junk.txt', '', '', '')
urlparse.urljoin() tests