MCPcopy Index your code
hub / github.com/RustPython/RustPython / install_finder

Function install_finder

Lib/test/test_importlib/fixtures.py:54–59  ·  view source on GitHub ↗
(finder)

Source from the content-addressed store, hash-verified

52
53@contextlib.contextmanager
54def install_finder(finder):
55 sys.meta_path.append(finder)
56 try:
57 yield
58 finally:
59 sys.meta_path.remove(finder)
60
61
62class Fixtures:

Callers

nothing calls this directly

Calls 2

appendMethod · 0.45
removeMethod · 0.45

Tested by

no test coverage detected