diff options
author | Zsolt Dollenstein <zsol.zsol@gmail.com> | 2018-04-16 21:33:31 (GMT) |
---|---|---|
committer | Ćukasz Langa <lukasz@langa.pl> | 2018-04-16 21:33:31 (GMT) |
commit | 8f37e846646444d84daf95787f4a0fa2b2316754 (patch) | |
tree | e24bde559037b5a0ff5447d12a2f7cfb4366b12b /Lib/lib2to3/tests | |
parent | c89b22175807d64c47b598163b804b5dc005d1bb (diff) | |
download | cpython-8f37e846646444d84daf95787f4a0fa2b2316754.zip cpython-8f37e846646444d84daf95787f4a0fa2b2316754.tar.gz cpython-8f37e846646444d84daf95787f4a0fa2b2316754.tar.bz2 |
Add support for all string literals to lib2to3 (#6457)
Diffstat (limited to 'Lib/lib2to3/tests')
-rw-r--r-- | Lib/lib2to3/tests/data/py3_test_grammar.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/lib2to3/tests/data/py3_test_grammar.py b/Lib/lib2to3/tests/data/py3_test_grammar.py index 0b9bee0..e0b6828 100644 --- a/Lib/lib2to3/tests/data/py3_test_grammar.py +++ b/Lib/lib2to3/tests/data/py3_test_grammar.py @@ -147,6 +147,8 @@ jumps over\n\ the \'lazy\' dog.\n\ ' self.assertEquals(x, y) + x = rf"hello \{True}"; y = f"hello \\{True}" + self.assertEquals(x, y) def testEllipsis(self): x = ... |