update snapshot test

This commit is contained in:
Phong Do 2025-12-10 17:47:51 +01:00
parent ca9f3c7f71
commit 82ed9ba305
1 changed files with 19 additions and 0 deletions

View File

@ -901,6 +901,25 @@ help: Convert to f-string
131 | ### 131 | ###
132 | # Non-errors 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 [*] Use f-string instead of `format` call
--> UP032_0.py:160:1 --> UP032_0.py:160:1
| |