Skip to content

Commit c7660b6

Browse files
committed
tests/cpydiff/core_fstring_parser.py: prevent ruff complaints
1 parent 7298abe commit c7660b6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/cpydiff/core_fstring_parser.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@
55
workaround: Always use balanced braces and brackets in expressions inside f-strings
66
"""
77

8-
print(f'{"hello { world"}')
9-
print(f'{"hello ] world"}')
8+
# CIRCUITPY-CHANGE: add noqa so ruff won't complain about unmatched braces
9+
print(f"{'hello { world'}") # noqa
10+
print(f"{'hello ] world'}") # noqa

0 commit comments

Comments
 (0)