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

Method as_json

Lib/test/libregrtest/runtests.py:205–206  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

203 json_file: JsonFile
204
205 def as_json(self) -> StrJSON:
206 return json.dumps(self, cls=_EncodeRunTests)
207
208 @staticmethod
209 def from_json(worker_json: StrJSON) -> 'WorkerRunTests':

Callers 1

create_worker_processFunction · 0.80

Calls 1

dumpsMethod · 0.45

Tested by

no test coverage detected