MCPcopy Create free account
hub / github.com/ipython/ipython / test_has_open_quotes1

Method test_has_open_quotes1

IPython/core/tests/test_completer.py:283–285  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

281 check_line_split(self.sp, t)
282
283 def test_has_open_quotes1(self):
284 for s in ["'", "'''", "'hi' '"]:
285 nt.assert_equal(completer.has_open_quotes(s), "'")
286
287 def test_has_open_quotes2(self):
288 for s in ['"', '"""', '"hi" "']:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected