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

Method test_slots_not_crash

bpython/test/test_autocomplete.py:269–274  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

267 )
268
269 def test_slots_not_crash(self):
270 com = autocomplete.AttrCompletion()
271 self.assertSetEqual(
272 com.matches(2, "A.", locals_={"A": Slots}),
273 {"A.b", "A.a"},
274 )
275
276
277class TestExpressionAttributeCompletion(unittest.TestCase):

Callers

nothing calls this directly

Calls 1

matchesMethod · 0.95

Tested by

no test coverage detected