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

Method test_methods_of_expressions

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

Source from the content-addressed store, hash-verified

260 self.assertIsNot(self.repl.docstring, None)
261
262 def test_methods_of_expressions(self):
263 self.set_input_line("'a'.capitalize(")
264 self.assertTrue(self.repl.get_args())
265
266 self.set_input_line("(1 + 1.1).as_integer_ratio(")
267 self.assertTrue(self.repl.get_args())
268
269
270class TestArgspecInternal(unittest.TestCase):

Callers

nothing calls this directly

Calls 2

set_input_lineMethod · 0.95
get_argsMethod · 0.80

Tested by

no test coverage detected