PY-8989 Support raw strings in "Convert triple-quoted to single-quoted" intention

This commit is contained in:
Mikhail Golubev
2015-04-08 19:34:37 +03:00
parent 9a4e441dd6
commit 3971584e44
5 changed files with 79 additions and 22 deletions
@@ -1,2 +0,0 @@
S = r"""foo<caret>
bar"""
@@ -0,0 +1,6 @@
S = (r'foo' '\n'
r'double-only"' '\n'
r"single-only'" '\n'
r"mix'ed" r'"' '\n'
"\r\n"
r'one line')
@@ -0,0 +1,7 @@
S = (<caret>r'''foo
double-only"
single-only'
mix'ed"
'''
"""\r\n"""
r'one line')