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

Method test_1

tests/test_completerlib.py:106–111  ·  view source on GitHub ↗

Test magic_run_completer, should match two alternatives

(self)

Source from the content-addressed store, hash-verified

104
105 @onlyif_unicode_paths
106 def test_1(self):
107 """Test magic_run_completer, should match two alternatives"""
108 event = MockEvent("%run a")
109 mockself = None
110 match = set(magic_run_completer(mockself, event))
111 self.assertEqual(match, {"a.py", "aaø.py"})
112
113 @onlyif_unicode_paths
114 def test_2(self):

Callers

nothing calls this directly

Calls 2

magic_run_completerFunction · 0.90
MockEventClass · 0.85

Tested by

no test coverage detected