MCPcopy Index your code
hub / github.com/python/cpython / test_user_line

Method test_user_line

Lib/idlelib/idle_test/test_debugger.py:53–57  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

51 # Won't test super call since two Bdbs are very different.
52
53 def test_user_line(self):
54 # Test that .user_line() creates a string message for a frame.
55 self.gui.interaction = Mock()
56 self.idb.user_line(self.frame)
57 self.gui.interaction.assert_called_once_with(self.msg, self.frame)
58
59 def test_user_exception(self):
60 # Test that .user_exception() creates a string message for a frame.

Callers

nothing calls this directly

Calls 3

MockClass · 0.90
user_lineMethod · 0.45

Tested by

no test coverage detected