Commit 85562685 authored by Stefan Behnel's avatar Stefan Behnel

Fix test in Py2.

parent 1a1c8fb4
......@@ -49,8 +49,8 @@ def escaping():
)
def nested_constant():
"""
>>> nested_constant()
'xyabc123321'
>>> print(nested_constant())
xyabc123321
"""
return f"""{f'''xy{f"abc{123}{'321'}"!s}'''}"""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment