MCPcopy Index your code
hub / github.com/bpython/bpython / test_syntax_error_parens

Method test_syntax_error_parens

bpython/test/test_repl.py:201–205  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

199 self.assertEqual(self.repl.current_func.__name__, expected_name)
200
201 def test_syntax_error_parens(self):
202 for line in ["spam(]", "spam([)", "spam())"]:
203 self.set_input_line(line)
204 # Should not explode
205 self.repl.get_args()
206
207 def test_kw_arg_position(self):
208 self.set_input_line("spam(a=0")

Callers

nothing calls this directly

Calls 2

set_input_lineMethod · 0.95
get_argsMethod · 0.80

Tested by

no test coverage detected