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

Method test_NameError

Lib/test/test__interpreters.py:982–986  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

980 """)
981
982 def test_NameError(self):
983 self.assert_run_failed(NameError, """
984 res = spam + eggs
985 """)
986 # XXX check preserved suggestions
987
988 def test_AttributeError(self):
989 self.assert_run_failed(AttributeError, """

Callers

nothing calls this directly

Calls 1

assert_run_failedMethod · 0.95

Tested by

no test coverage detected