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

Method dumb_func

bpython/test/test_line_properties.py:131–132  ·  view source on GitHub ↗
(cursor_offset, line)

Source from the content-addressed store, hash-verified

129
130 def test_assert_access(self):
131 def dumb_func(cursor_offset, line):
132 return LinePart(0, 2, "ab")
133
134 self.func = dumb_func
135 self.assertAccess("<a|b>d")

Callers

nothing calls this directly

Calls 1

LinePartClass · 0.90

Tested by

no test coverage detected