Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ write_json_into
Method
write_json_into
Lib/test/libregrtest/result.py:214–215 ·
view source on GitHub ↗
(self, file)
Source
from the content-addressed store, hash-verified
212
return
tuple(match_tests)
213
214
def
write_json_into(self, file) -> None:
215
json.dump(self, file, cls=_EncodeTestResult)
216
217
@staticmethod
218
def
from_json(worker_json: StrJSON) ->
'TestResult'
:
Callers
1
worker_process
Function · 0.80
Calls
1
dump
Method · 0.45
Tested by
no test coverage detected