Limit to all is deprecated, once we remove it this test can go away.
(self)
| 763 | del ip._x |
| 764 | |
| 765 | def test_limit_to__all__False_ok(self): |
| 766 | """ |
| 767 | Limit to all is deprecated, once we remove it this test can go away. |
| 768 | """ |
| 769 | ip = get_ipython() |
| 770 | c = ip.Completer |
| 771 | c.use_jedi = False |
| 772 | ip.ex("class D: x=24") |
| 773 | ip.ex("d=D()") |
| 774 | cfg = Config() |
| 775 | cfg.IPCompleter.limit_to__all__ = False |
| 776 | c.update_config(cfg) |
| 777 | s, matches = c.complete("d.") |
| 778 | self.assertIn(".x", matches) |
| 779 | |
| 780 | def test_get__all__entries_ok(self): |
| 781 | class A: |
nothing calls this directly
no test coverage detected