mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-19 16:20:52 +00:00
Use explicit unicode literal for docstring. Now test passes on Python 2 when ALLOW_BYTES is indicated.
This commit is contained in:
parent
210eb5b529
commit
ebbe645cb6
@ -273,7 +273,7 @@ def get_alias(aliases, path_unicode, default):
|
||||
|
||||
def escape_path(path):
|
||||
# type: (str) -> str
|
||||
"""
|
||||
u"""
|
||||
Return path quoted to US-ASCII.
|
||||
|
||||
>>> path = u'/føö/bar/☃'
|
||||
|
Loading…
x
Reference in New Issue
Block a user