(setup, code, expected, not_expected)
| 2831 | ], |
| 2832 | ) |
| 2833 | def test_misc_no_jedi_completions(setup, code, expected, not_expected): |
| 2834 | ip = get_ipython() |
| 2835 | c = ip.Completer |
| 2836 | ip.ex(setup) |
| 2837 | with provisionalcompleter(), jedi_status(False): |
| 2838 | matches = c.all_completions(code) |
| 2839 | assert set(expected) - set(matches) == set(), set(matches) |
| 2840 | assert set(matches).intersection(set(not_expected)) == set() |
| 2841 | |
| 2842 | |
| 2843 | @pytest.mark.parametrize( |
nothing calls this directly
no test coverage detected
searching dependent graphs…