(self)
| 1450 | assert_completion(line_buffer="get()['abc") |
| 1451 | |
| 1452 | def test_completion_autoimport(self): |
| 1453 | ip = get_ipython() |
| 1454 | complete = ip.Completer.complete |
| 1455 | with ( |
| 1456 | evaluation_policy("limited", allow_auto_import=True), |
| 1457 | jedi_status(False), |
| 1458 | ): |
| 1459 | _, matches = complete(line_buffer="math.") |
| 1460 | self.assertIn(".pi", matches) |
| 1461 | |
| 1462 | def test_completion_no_autoimport(self): |
| 1463 | ip = get_ipython() |
nothing calls this directly
no test coverage detected