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

Method test_has_open_quotes2

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

Source from the content-addressed store, hash-verified

285 nt.assert_equal(completer.has_open_quotes(s), "'")
286
287 def test_has_open_quotes2(self):
288 for s in ['"', '"""', '"hi" "']:
289 nt.assert_equal(completer.has_open_quotes(s), '"')
290
291 def test_has_open_quotes3(self):
292 for s in ["''", "''' '''", "'hi' 'ipython'"]:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected