(self)
| 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 | |
| 277 | class TestExpressionAttributeCompletion(unittest.TestCase): |