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

Method test_has_open_quotes3

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

Source from the content-addressed store, hash-verified

289 nt.assert_equal(completer.has_open_quotes(s), '"')
290
291 def test_has_open_quotes3(self):
292 for s in ["''", "''' '''", "'hi' 'ipython'"]:
293 nt.assert_false(completer.has_open_quotes(s))
294
295 def test_has_open_quotes4(self):
296 for s in ['""', '""" """', '"hi" "ipython"']:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected