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

Method test_simple_assignment

Lib/test/test_compile.py:1950–1952  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1948 self.fail(f"Opcode {opcode} not found in code")
1949
1950 def test_simple_assignment(self):
1951 snippet = "x = 1"
1952 self.check_positions_against_ast(snippet)
1953
1954 def test_compiles_to_extended_op_arg(self):
1955 # Make sure we still have valid positions when the code compiles to an

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected