MCPcopy Index your code
hub / github.com/datacamp/pythonwhat / test_object_assignment_parser

Function test_object_assignment_parser

tests/test_check_object.py:404–407  ·  view source on GitHub ↗
(code)

Source from the content-addressed store, hash-verified

402 ],
403)
404def test_object_assignment_parser(code):
405 p = ObjectAssignmentParser()
406 p.visit(ast.parse(code))
407 assert "x" in p.out

Callers

nothing calls this directly

Calls 2

parseMethod · 0.45

Tested by

no test coverage detected