We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dcb39f0 commit 08e266cCopy full SHA for 08e266c
1 file changed
Lib/test/test_fstring.py
@@ -1832,11 +1832,10 @@ def test_newlines_in_format_specifiers(self):
1832
compile(case, "<string>", "exec")
1833
1834
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
- """
+ # Test raw f-string format spec behavior (Issue #137314).
+ #
+ # Raw f-strings should preserve literal backslashes in format specifications,
+ # not interpret them as escape sequences.
1840
class UnchangedFormat:
1841
"""Test helper that returns the format spec unchanged."""
1842
def __format__(self, format):
0 commit comments