(self)
| 1856 | self.assertEqual(c.text[0], "%") |
| 1857 | |
| 1858 | def test_fwd_unicode_restricts(self): |
| 1859 | ip = get_ipython() |
| 1860 | completer = ip.Completer |
| 1861 | text = "\\ROMAN NUMERAL FIVE" |
| 1862 | |
| 1863 | with provisionalcompleter(): |
| 1864 | completer.use_jedi = True |
| 1865 | completions = [ |
| 1866 | completion.text for completion in completer.completions(text, len(text)) |
| 1867 | ] |
| 1868 | self.assertEqual(completions, ["\u2164"]) |
| 1869 | |
| 1870 | def test_dict_key_restrict_to_dicts(self): |
| 1871 | """Test that dict key suppresses non-dict completion items""" |
nothing calls this directly
no test coverage detected