MCPcopy Create free account
hub / github.com/python/cpython / _decode_runtests

Function _decode_runtests

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

Source from the content-addressed store, hash-verified

221
222
223def _decode_runtests(data: dict[str, Any]) -> RunTests | dict[str, Any]:
224 if "__runtests__" in data:
225 data.pop('__runtests__')
226 if data['hunt_refleak']:
227 data['hunt_refleak'] = HuntRefleak(**data['hunt_refleak'])
228 if data['json_file']:
229 data['json_file'] = JsonFile(**data['json_file'])
230 return WorkerRunTests(**data)
231 else:
232 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

Used in the wild real call sites across dependent graphs

searching dependent graphs…