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

Method test_dots

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

Source from the content-addressed store, hash-verified

153 self.assertAccess("<asd|fg>")
154
155 def test_dots(self):
156 self.assertAccess("<Object.attr1|>")
157 self.assertAccess("<Object.attr1.attr2|>")
158 self.assertAccess("<Object.att|r1.attr2>")
159 self.assertAccess("stuff[stuff] + {123: 456} + <Object.attr1.attr2|>")
160 self.assertAccess("stuff[<asd|fg>]")
161 self.assertAccess("stuff[asdf[<asd|fg>]")
162
163 def test_non_dots(self):
164 self.assertAccess("].asdf|")

Callers

nothing calls this directly

Calls 1

assertAccessMethod · 0.80

Tested by

no test coverage detected