Skip to content
Snippets Groups Projects
Commit 617483af authored by kiilerix's avatar kiilerix
Browse files

test: test that backslash is preserved by the url class

parent 1618c4f6
No related branches found
No related tags found
No related merge requests found
......@@ -1473,7 +1473,7 @@
return '<url %s>' % ', '.join(attrs)
def __str__(self):
"""Join the URL's components back into a URL string.
r"""Join the URL's components back into a URL string.
Examples:
......@@ -1493,6 +1493,8 @@
'bundle:../foo'
>>> str(url('path'))
'path'
>>> print url(r'bundle:foo\bar')
bundle:foo\bar
"""
if self._localpath:
s = self.path
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment