Mercurial > hg-stable
diff tests/test-url.py @ 13827:f1823b9f073b
url: nuke some newly-introduced underbars in identifiers
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Thu, 31 Mar 2011 10:43:53 -0500 |
parents | 7f18bab2c0b0 |
children | b2798c1defff |
line wrap: on
line diff
--- a/tests/test-url.py Wed Mar 30 20:03:05 2011 -0700 +++ b/tests/test-url.py Thu Mar 31 10:43:53 2011 -0500 @@ -71,11 +71,11 @@ <url scheme: 'http', host: 'host', path: 'a', fragment: 'b?c'> >>> url('http://host/?a#b') <url scheme: 'http', host: 'host', path: '', query: 'a', fragment: 'b'> - >>> url('http://host/?a#b', parse_query=False) + >>> url('http://host/?a#b', parsequery=False) <url scheme: 'http', host: 'host', path: '?a', fragment: 'b'> - >>> url('http://host/?a#b', parse_fragment=False) + >>> url('http://host/?a#b', parsefragment=False) <url scheme: 'http', host: 'host', path: '', query: 'a#b'> - >>> url('http://host/?a#b', parse_query=False, parse_fragment=False) + >>> url('http://host/?a#b', parsequery=False, parsefragment=False) <url scheme: 'http', host: 'host', path: '?a#b'> IPv6 addresses: