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

Method parse

Lib/test/test_ast/test_ast.py:777–778  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

775
776 def test_compare_attributes_option(self):
777 def parse(a, b):
778 return ast.parse(a), ast.parse(b)
779
780 a, b = parse("2 + 2", "2+2")
781 self.assertTrue(ast.compare(a, b))

Calls

no outgoing calls

Tested by

no test coverage detected