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

Method test_assign_call

Lib/test/test_syntax.py:2988–2989  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2986 self._check_error("f{}", "invalid syntax", mode="single")
2987
2988 def test_assign_call(self):
2989 self._check_error("f() = 1", "assign")
2990
2991 def test_assign_del(self):
2992 self._check_error("del (,)", "invalid syntax")

Callers

nothing calls this directly

Calls 1

_check_errorMethod · 0.95

Tested by

no test coverage detected