Issue #18037: Do not escape '\u' and '\U' in raw strings.

This commit is contained in:
Serhiy Storchaka 2013-10-08 21:07:46 +03:00
parent bcce1256e3
commit 5e596769b0
2 changed files with 2 additions and 3 deletions

View file

@ -2830,7 +2830,7 @@ class Test_unicode(FixerTestCase):
self.check(b, a)
b = r"""r'\\\u20ac\U0001d121\\u20ac'"""
a = r"""r'\\\\u20ac\\U0001d121\\u20ac'"""
a = r"""r'\\\u20ac\U0001d121\\u20ac'"""
self.check(b, a)
def test_bytes_literal_escape_u(self):