(self)
| 406 | self.com = autocomplete.GlobalCompletion() |
| 407 | |
| 408 | def test_function(self): |
| 409 | def function(): |
| 410 | pass |
| 411 | |
| 412 | self.assertEqual( |
| 413 | self.com.matches(8, "function", locals_={"function": function}), |
| 414 | {"function("}, |
| 415 | ) |
| 416 | |
| 417 | def test_completions_are_unicode(self): |
| 418 | for m in self.com.matches(1, "a", locals_={"abc": 10}): |