Skip to content

Commit 5a40ce2

Browse files
Adjust constant name in test
1 parent 8afd218 commit 5a40ce2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# pylint: disable=missing-module-docstring
22

33
dictionary = {'0': 0}
4-
f_string = f'{dictionary["0"]}'
4+
F_STRING = f'{dictionary["0"]}'

tests/functional/i/inconsistent/inconsistent_quotes_fstring_py312.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
dictionary = {'0': 0}
44
# quotes are inconsistent when targetting Python 3.12 (use single quotes)
5-
f_string = f'{dictionary["0"]}' # [inconsistent-quotes]
5+
F_STRING = f'{dictionary["0"]}' # [inconsistent-quotes]

tests/functional/i/inconsistent/inconsistent_quotes_fstring_py312_311.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
dictionary = {'0': 0}
44
# quotes are consistent when targetting 3.11 and earlier (cannot use single quotes here)
5-
f_string = f'{dictionary["0"]}'
5+
F_STRING = f'{dictionary["0"]}'

0 commit comments

Comments
 (0)