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

Method test_issue583

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

Source from the content-addressed store, hash-verified

253
254 @unittest.skipIf(pypy, "pypy pydoc doesn't have this")
255 def test_issue583(self):
256 self.repl = FakeRepl()
257 self.repl.push("a = 1.2\n", False)
258 self.set_input_line("a.is_integer(")
259 self.repl.set_docstring()
260 self.assertIsNot(self.repl.docstring, None)
261
262 def test_methods_of_expressions(self):
263 self.set_input_line("'a'.capitalize(")

Callers

nothing calls this directly

Calls 4

set_input_lineMethod · 0.95
FakeReplClass · 0.85
set_docstringMethod · 0.80
pushMethod · 0.45

Tested by

no test coverage detected