feat: process fstring when python version gte 3.12

This commit is contained in:
ifuryst 2024-04-15 18:07:21 +08:00
parent 0d20f18212
commit 8a5e9ade6c
2 changed files with 17 additions and 0 deletions

View file

@ -43,6 +43,12 @@ TESTS = (
0,
id='ignore nested fstrings',
),
pytest.param(
'f"Error during task loop"',
"f'Error during task loop'",
1,
id='process the fstrings when pyver is gte 3.12',
),
)