black/tests/data/string_prefixes.py
Shantanu 6d8b90167b
string prefixes: don't normalise capital R-strings (#1271)
Resolves #1244

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
2020-03-03 14:55:14 +01:00

19 lines
188 B
Python

#!/usr/bin/env python3.6
name = R"Łukasz"
F"hello {name}"
B"hello"
r"hello"
fR"hello"
# output
#!/usr/bin/env python3.6
name = R"Łukasz"
f"hello {name}"
b"hello"
r"hello"
fR"hello"