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

Method test_2

tests/test_completerlib.py:114–119  ·  view source on GitHub ↗

Test magic_run_completer, should match one alternative

(self)

Source from the content-addressed store, hash-verified

112
113 @onlyif_unicode_paths
114 def test_2(self):
115 """Test magic_run_completer, should match one alternative"""
116 event = MockEvent("%run aa")
117 mockself = None
118 match = set(magic_run_completer(mockself, event))
119 self.assertEqual(match, {"aaø.py"})
120
121 @onlyif_unicode_paths
122 def test_3(self):

Callers

nothing calls this directly

Calls 2

magic_run_completerFunction · 0.90
MockEventClass · 0.85

Tested by

no test coverage detected