Skip to content

Commit 08e266c

Browse files
pablogsalpicnixz
andauthored
Update Lib/test/test_fstring.py
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
1 parent dcb39f0 commit 08e266c

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

Lib/test/test_fstring.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1832,11 +1832,10 @@ def test_newlines_in_format_specifiers(self):
18321832
compile(case, "<string>", "exec")
18331833

18341834
def test_raw_fstring_format_spec(self):
1835-
"""Test raw f-string format spec behavior (Issue #137314).
1836-
1837-
Raw f-strings should preserve literal backslashes in format specifications,
1838-
not interpret them as escape sequences.
1839-
"""
1835+
# Test raw f-string format spec behavior (Issue #137314).
1836+
#
1837+
# Raw f-strings should preserve literal backslashes in format specifications,
1838+
# not interpret them as escape sequences.
18401839
class UnchangedFormat:
18411840
"""Test helper that returns the format spec unchanged."""
18421841
def __format__(self, format):

0 commit comments

Comments
 (0)