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

Method test_fstrings_pep701

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

Source from the content-addressed store, hash-verified

199 self.check_ast_roundtrip('''f"\\u2028{'x'}"''')
200
201 def test_fstrings_pep701(self):
202 self.check_ast_roundtrip('f" something { my_dict["key"] } something else "')
203 self.check_ast_roundtrip('f"{f"{f"{f"{f"{f"{1+1}"}"}"}"}"}"')
204
205 def test_tstrings(self):
206 self.check_ast_roundtrip("t'foo'")

Callers

nothing calls this directly

Calls 1

check_ast_roundtripMethod · 0.80

Tested by

no test coverage detected