mirror of
https://github.com/python/cpython.git
synced 2024-11-24 10:24:35 +08:00
no longer needed - converted test_urlparse.py to use unittest
This commit is contained in:
parent
0c2c8e77fb
commit
b1ba6b0044
@ -1,46 +0,0 @@
|
||||
test_urlparse
|
||||
http://www.python.org = ('http', 'www.python.org', '', '', '', '')
|
||||
http://www.python.org#abc = ('http', 'www.python.org', '', '', '', 'abc')
|
||||
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')
|
||||
|
||||
urlparse.urljoin() tests
|
||||
|
||||
g:h = 'g:h'
|
||||
g = 'http://a/b/c/g'
|
||||
./g = 'http://a/b/c/g'
|
||||
g/ = 'http://a/b/c/g/'
|
||||
/g = 'http://a/g'
|
||||
//g = 'http://g'
|
||||
?y = 'http://a/b/c/d;p?y'
|
||||
g?y = 'http://a/b/c/g?y'
|
||||
g?y/./x = 'http://a/b/c/g?y/./x'
|
||||
#s = 'http://a/b/c/d;p?q#s'
|
||||
g#s = 'http://a/b/c/g#s'
|
||||
g#s/./x = 'http://a/b/c/g#s/./x'
|
||||
g?y#s = 'http://a/b/c/g?y#s'
|
||||
;x = 'http://a/b/c/d;x'
|
||||
g;x = 'http://a/b/c/g;x'
|
||||
g;x?y#s = 'http://a/b/c/g;x?y#s'
|
||||
. = 'http://a/b/c/'
|
||||
./ = 'http://a/b/c/'
|
||||
.. = 'http://a/b/'
|
||||
../ = 'http://a/b/'
|
||||
../g = 'http://a/b/g'
|
||||
../.. = 'http://a/'
|
||||
../../ = 'http://a/'
|
||||
../../g = 'http://a/g'
|
||||
= 'http://a/b/c/d;p?q#f'
|
||||
../../../g = 'http://a/../g'
|
||||
../../../../g = 'http://a/../../g'
|
||||
/./g = 'http://a/./g'
|
||||
/../g = 'http://a/../g'
|
||||
g. = 'http://a/b/c/g.'
|
||||
.g = 'http://a/b/c/.g'
|
||||
g.. = 'http://a/b/c/g..'
|
||||
..g = 'http://a/b/c/..g'
|
||||
./../g = 'http://a/b/g'
|
||||
./g/. = 'http://a/b/c/g/'
|
||||
g/./h = 'http://a/b/c/g/h'
|
||||
g/../h = 'http://a/b/c/h'
|
||||
0 errors
|
Loading…
Reference in New Issue
Block a user