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

Method test_3

tests/test_completerlib.py:122–127  ·  view source on GitHub ↗

Test magic_run_completer with unterminated "

(self)

Source from the content-addressed store, hash-verified

120
121 @onlyif_unicode_paths
122 def test_3(self):
123 """Test magic_run_completer with unterminated " """
124 event = MockEvent('%run "a')
125 mockself = None
126 match = set(magic_run_completer(mockself, event))
127 self.assertEqual(match, {"a.py", "aaø.py"})
128
129
130# module_completer:

Callers

nothing calls this directly

Calls 2

magic_run_completerFunction · 0.90
MockEventClass · 0.85

Tested by

no test coverage detected