MCPcopy
hub / github.com/pex-tool/pex / observe_side_effect

Function observe_side_effect

tests/test_jobs.py:76–79  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

74 side_effect_file = os.path.join(str(tmpdir), "side.effect")
75
76 def observe_side_effect():
77 # type: () -> Dict[str, int]
78 with open(side_effect_file) as fp:
79 return cast("Dict[str, int]", json.load(fp))
80
81 assert (
82 {"exit_code": 42}

Callers

nothing calls this directly

Calls 2

castFunction · 0.90
loadMethod · 0.45

Tested by

no test coverage detected