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

Method test_assert_access

bpython/test/test_line_properties.py:130–135  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

128 self.assertEqual(encode(5, "abdcd", LinePart(1, 4, "bdc")), "a<bdc>d|")
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")
136
137
138class TestCurrentWord(LineTestCase):

Callers

nothing calls this directly

Calls 1

assertAccessMethod · 0.80

Tested by

no test coverage detected