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

Method assert_paint

bpython/test/test_curtsies_painting.py:68–71  ·  view source on GitHub ↗
(self, screen, cursor_row_col)

Source from the content-addressed store, hash-verified

66 return self.repl.coderunner.interp.locals
67
68 def assert_paint(self, screen, cursor_row_col):
69 array, cursor_pos = self.repl.paint()
70 assertFSArraysEqual(array, screen)
71 self.assertEqual(cursor_pos, cursor_row_col)
72
73 def assert_paint_ignoring_formatting(
74 self, screen, cursor_row_col=None, **paint_kwargs

Callers 3

test_startupMethod · 0.80
test_enter_textMethod · 0.80

Calls 1

paintMethod · 0.80

Tested by

no test coverage detected