Skip to content

Commit b4b18c1

Browse files
committed
Fix Py3 SyntaxError with one xfailing test (test_problematic_string)
1 parent 692f4c2 commit b4b18c1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

future/tests/test_futurize.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ def test_problematic_string(self):
2020
""" This string generates a SyntaxError on Python 3 unless it has
2121
an r prefix.
2222
"""
23-
before = """
23+
before = r"""
2424
s = 'The folder is "C:\Users"'.
2525
"""
26-
after = """
26+
after = r"""
2727
s = r'The folder is "C:\Users"'.
2828
"""
2929
self.convert_check(before, after)

0 commit comments

Comments
 (0)