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

Function check_test_completion

scripts/generate_checklist.py:156–164  ·  view source on GitHub ↗
(rustpython_path, cpython_path)

Source from the content-addressed store, hash-verified

154
155
156def check_test_completion(rustpython_path, cpython_path):
157 if rustpython_path.exists() and rustpython_path.is_file():
158 if cpython_path.exists() and cpython_path.is_file():
159 if not rustpython_path.exists() or not rustpython_path.is_file():
160 return False
161 elif check_diff(rustpython_path, cpython_path) > 0:
162 return False
163 return True
164 return False
165
166
167def check_lib_completion(rustpython_path, cpython_path):

Callers 1

check_lib_completionFunction · 0.85

Calls 3

check_diffFunction · 0.85
existsMethod · 0.45
is_fileMethod · 0.45

Tested by

no test coverage detected