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

Method get_data

Lib/test/test_importlib/test_abc.py:640–646  ·  view source on GitHub ↗
(self, path)

Source from the content-addressed store, hash-verified

638 self.written = {}
639
640 def get_data(self, path):
641 if path == self.path:
642 return super().get_data(path)
643 elif path == self.bytecode_path:
644 return self.bytecode
645 else:
646 raise OSError
647
648 def path_stats(self, path):
649 if path != self.path:

Callers 8

get_sourceMethod · 0.95
get_codeMethod · 0.95
get_sourceMethod · 0.95
get_codeMethod · 0.95
_testGetDataMethod · 0.45
get_dataMethod · 0.45
test_get_dataMethod · 0.45
test_no_bytecodeMethod · 0.45

Calls 1

superClass · 0.85

Tested by

no test coverage detected