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

Function _decode_runtests

Lib/test/libregrtest/runtests.py:216–225  ·  view source on GitHub ↗
(data: dict[str, Any])

Source from the content-addressed store, hash-verified

214
215
216def _decode_runtests(data: dict[str, Any]) -> RunTests | dict[str, Any]:
217 if "__runtests__" in data:
218 data.pop('__runtests__')
219 if data['hunt_refleak']:
220 data['hunt_refleak'] = HuntRefleak(**data['hunt_refleak'])
221 if data['json_file']:
222 data['json_file'] = JsonFile(**data['json_file'])
223 return WorkerRunTests(**data)
224 else:
225 return data

Callers

nothing calls this directly

Calls 4

HuntRefleakClass · 0.85
JsonFileClass · 0.85
WorkerRunTestsClass · 0.85
popMethod · 0.45

Tested by

no test coverage detected