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

Method test_spaces

tests/test_completer.py:369–374  ·  view source on GitHub ↗

Test with only spaces as split chars.

(self)

Source from the content-addressed store, hash-verified

367 self.assertEqual(sp._delim_expr, r"[\ ]")
368
369 def test_spaces(self):
370 """Test with only spaces as split chars."""
371 sp = completer.CompletionSplitter()
372 sp.delims = " "
373 t = [("foo", "", "foo"), ("run foo", "", "foo"), ("run foo", "bar", "foo")]
374 check_line_split(sp, t)
375
376 def test_has_open_quotes1(self):
377 for s in ["'", "'''", "'hi' '"]:

Callers

nothing calls this directly

Calls 1

check_line_splitFunction · 0.85

Tested by

no test coverage detected