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

Method test_simple

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

Source from the content-addressed store, hash-verified

251 self.func = current_object
252
253 def test_simple(self):
254 self.assertAccess("<Object>.attr1|")
255 self.assertAccess("<Object>.|")
256 self.assertAccess("Object|")
257 self.assertAccess("Object|.")
258 self.assertAccess("<Object>.|")
259 self.assertAccess("<Object.attr1>.attr2|")
260 self.assertAccess("<Object>.att|r1.attr2")
261 self.assertAccess("stuff[stuff] + {123: 456} + <Object.attr1>.attr2|")
262 self.assertAccess("stuff[asd|fg]")
263 self.assertAccess("stuff[asdf[asd|fg]")
264
265
266class TestCurrentAttribute(LineTestCase):

Callers

nothing calls this directly

Calls 1

assertAccessMethod · 0.80

Tested by

no test coverage detected