diff --git a/crates/ruff_linter/src/rules/pyupgrade/snapshots/ruff_linter__rules__pyupgrade__tests__UP032_0.py.snap b/crates/ruff_linter/src/rules/pyupgrade/snapshots/ruff_linter__rules__pyupgrade__tests__UP032_0.py.snap index 2ecb24ea07..a507e2ab85 100644 --- a/crates/ruff_linter/src/rules/pyupgrade/snapshots/ruff_linter__rules__pyupgrade__tests__UP032_0.py.snap +++ b/crates/ruff_linter/src/rules/pyupgrade/snapshots/ruff_linter__rules__pyupgrade__tests__UP032_0.py.snap @@ -901,6 +901,25 @@ help: Convert to f-string 131 | ### 132 | # Non-errors +UP032 [*] Use f-string instead of `format` call + --> UP032_0.py:136:1 + | +135 | # False-negative: RustPython doesn't parse the `\N{snowman}`. +136 | "\N{snowman} {}".format(a) + | ^^^^^^^^^^^^^^^^^^^^^^^^^^ +137 | +138 | "{".format(a) + | +help: Convert to f-string +133 | ### +134 | +135 | # False-negative: RustPython doesn't parse the `\N{snowman}`. + - "\N{snowman} {}".format(a) +136 + f"\N{snowman} {a}" +137 | +138 | "{".format(a) +139 | + UP032 [*] Use f-string instead of `format` call --> UP032_0.py:160:1 |