Fix tests so they work with Python 3.12/3.13

This commit is contained in:
Julian Gilbey
2024-11-21 09:24:01 +00:00
parent 1ca6b1f3e8
commit 1c01dafc2b
2 changed files with 75 additions and 22 deletions

View File

@@ -227,8 +227,6 @@ FAILING_EXAMPLES = [
"f'{1;1}'",
"f'{a;}'",
"f'{b\"\" \"\"}'",
# f-string expression part cannot include a backslash
r'''f"{'\n'}"''',
'async def foo():\n yield x\n return 1',
'async def foo():\n yield x\n return 1',