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

Method test_basic_script_no_suffix

Lib/test/test_runpy.py:675–681  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

673 expect_spec=False)
674
675 def test_basic_script_no_suffix(self):
676 with temp_dir() as script_dir:
677 mod_name = 'script'
678 script_name = self._make_test_script(script_dir, mod_name,
679 omit_suffix=True)
680 self._check_script(script_name, "<run_path>", script_name,
681 script_name, expect_spec=False)
682
683 @unittest.skipIf(sys.implementation.cache_tag is None,
684 'requires sys.implementation.cache_tag')

Callers

nothing calls this directly

Calls 3

_make_test_scriptMethod · 0.95
_check_scriptMethod · 0.95
temp_dirFunction · 0.90

Tested by

no test coverage detected