MCPcopy Index your code
hub / github.com/ipython/ipython / test_back_latex_completion

Method test_back_latex_completion

tests/test_completer.py:343–348  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

341 self.assertEqual(matches, ())
342
343 def test_back_latex_completion(self):
344 ip = get_ipython()
345
346 # do not return more than 1 matches for \beta, only the latex one.
347 name, matches = ip.complete("\\β")
348 self.assertEqual(matches, ["\\beta"])
349
350 def test_back_unicode_completion(self):
351 ip = get_ipython()

Callers

nothing calls this directly

Calls 2

get_ipythonFunction · 0.90
completeMethod · 0.45

Tested by

no test coverage detected