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

Function create

tests/test_execution_mode.py:33–37  ·  view source on GitHub ↗
(extra_args)

Source from the content-addressed store, hash-verified

31def create_colors_pex(tmpdir):
32 # type: (Any) -> CreateColorsPex
33 def create(extra_args):
34 pex_file = os.path.join(str(tmpdir), "colors.pex")
35 results = run_pex_command(["ansicolors==1.1.8", "-o", pex_file] + list(extra_args))
36 results.assert_success()
37 return pex_file
38
39 return create
40

Callers

nothing calls this directly

Calls 3

run_pex_commandFunction · 0.90
assert_successMethod · 0.80
joinMethod · 0.45

Tested by

no test coverage detected