mirror of
https://github.com/python/cpython.git
synced 2026-04-28 06:41:01 +00:00
Merge with 3.6
This commit is contained in:
commit
32d93b2dc8
1 changed files with 2 additions and 0 deletions
|
|
@ -378,6 +378,7 @@ def test_no_backslashes_in_expression_part(self):
|
|||
r"rf'{\t3}'",
|
||||
r"rf'{\}'",
|
||||
r"""rf'{"\N{LEFT CURLY BRACKET}"}'""",
|
||||
r"f'{\n}'",
|
||||
])
|
||||
|
||||
def test_no_escapes_for_braces(self):
|
||||
|
|
@ -627,6 +628,7 @@ def test_mismatched_braces(self):
|
|||
"f'}'",
|
||||
"f'x}'",
|
||||
"f'x}x'",
|
||||
r"f'\u007b}'",
|
||||
|
||||
# Can't have { or } in a format spec.
|
||||
"f'{3:}>10}'",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue