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

Method test_current_line

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

Source from the content-addressed store, hash-verified

342 )
343
344 def test_current_line(self):
345 self.repl.interp.locals["a"] = socket.socket
346 self.set_input_line("a")
347 self.assertIn("dup(self)", self.repl.get_source_of_current_name())
348
349
350# TODO add tests for various failures without using current function

Callers

nothing calls this directly

Calls 2

set_input_lineMethod · 0.95

Tested by

no test coverage detected