MCPcopy Index your code
hub / github.com/python/cpython / test_fstrings_special_chars

Method test_fstrings_special_chars

Lib/test/test_unparse.py:184–189  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

182 )
183
184 def test_fstrings_special_chars(self):
185 # See issue 25180
186 self.check_ast_roundtrip(r"""f'{f"{0}"*3}'""")
187 self.check_ast_roundtrip(r"""f'{f"{y}"*3}'""")
188 self.check_ast_roundtrip("""f''""")
189 self.check_ast_roundtrip('''f"""'end' "quote\\""""''')
190
191 def test_fstrings_complicated(self):
192 # See issue 28002

Callers

nothing calls this directly

Calls 1

check_ast_roundtripMethod · 0.80

Tested by

no test coverage detected