bpo-27200: Fix several doctests (GH-604)

This commit is contained in:
Marco Buttu 2017-04-27 14:23:34 +02:00 committed by Berker Peksag
parent 6fde770e4e
commit e65fcde85a
7 changed files with 39 additions and 24 deletions

View file

@ -64,6 +64,9 @@ or on combining URL components into a URL string.
input is presumed to be a relative URL and thus to start with
a path component.
.. doctest::
:options: +NORMALIZE_WHITESPACE
>>> from urllib.parse import urlparse
>>> urlparse('//www.cwi.nl:80/%7Eguido/Python.html')
ParseResult(scheme='', netloc='www.cwi.nl:80', path='/%7Eguido/Python.html',