(self)
| 1820 | self.assertIn("some_four", matches) |
| 1821 | |
| 1822 | def test_mix_terms(self): |
| 1823 | ip = get_ipython() |
| 1824 | from textwrap import dedent |
| 1825 | |
| 1826 | ip.Completer.use_jedi = False |
| 1827 | ip.ex( |
| 1828 | dedent( |
| 1829 | """ |
| 1830 | class Test: |
| 1831 | def meth(self, meth_arg1): |
| 1832 | print("meth") |
| 1833 | |
| 1834 | def meth_1(self, meth1_arg1, meth1_arg2): |
| 1835 | print("meth1") |
| 1836 | |
| 1837 | def meth_2(self, meth2_arg1, meth2_arg2): |
| 1838 | print("meth2") |
| 1839 | test = Test() |
| 1840 | """ |
| 1841 | ) |
| 1842 | ) |
| 1843 | _, matches = ip.complete(None, "test.meth(") |
| 1844 | self.assertIn("meth_arg1=", matches) |
| 1845 | self.assertNotIn("meth2_arg1=", matches) |
| 1846 | |
| 1847 | def test_percent_symbol_restrict_to_magic_completions(self): |
| 1848 | ip = get_ipython() |
nothing calls this directly
no test coverage detected