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

Function _make_test_script

Lib/test/test_cmd_line_script.py:76–79  ·  view source on GitHub ↗
(script_dir, script_basename, source=test_source)

Source from the content-addressed store, hash-verified

74"""
75
76def _make_test_script(script_dir, script_basename, source=test_source):
77 to_return = make_script(script_dir, script_basename, source)
78 importlib.invalidate_caches()
79 return to_return
80
81def _make_test_zip_pkg(zip_dir, zip_basename, pkg_name, script_basename,
82 source=test_source, depth=1):

Callers 15

test_basic_scriptMethod · 0.70
test_script_abspathMethod · 0.70
test_script_compiledMethod · 0.70
test_directoryMethod · 0.70
test_zipfileMethod · 0.70
test_zipfile_errorMethod · 0.70
test_packageMethod · 0.70

Calls 2

make_scriptFunction · 0.90
invalidate_cachesMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…