MCPcopy Index your code
hub / github.com/python/cpython / from_json

Method from_json

Lib/test/libregrtest/result.py:218–219  ·  view source on GitHub ↗
(worker_json: StrJSON)

Source from the content-addressed store, hash-verified

216
217 @staticmethod
218 def from_json(worker_json: StrJSON) -> 'TestResult':
219 return json.loads(worker_json, object_hook=_decode_test_result)
220
221
222class _EncodeTestResult(json.JSONEncoder):

Callers 2

read_jsonMethod · 0.45
worker_processFunction · 0.45

Calls 1

loadsMethod · 0.45

Tested by

no test coverage detected