MCPcopy Create free account
hub / github.com/bpython/bpython / test_function_calls_raise

Method test_function_calls_raise

bpython/test/test_simpleeval.py:88–90  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

86 simple_eval("2 ** 3")
87
88 def test_function_calls_raise(self):
89 with self.assertRaises(ValueError):
90 simple_eval("1()")
91
92 def test_nonexistant_names_raise(self):
93 with self.assertRaises(EvaluationError):

Callers

nothing calls this directly

Calls 1

simple_evalFunction · 0.90

Tested by

no test coverage detected