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

Method test_module

Lib/test/test_argparse.py:7232–7237  ·  view source on GitHub ↗
(self, compiled=False)

Source from the content-addressed store, hash-verified

7230 self.test_directory(compiled=True)
7231
7232 def test_module(self, compiled=False):
7233 basename = 'module' + os_helper.FS_NONASCII
7234 modulename = f'{self.dirname}.{basename}'
7235 self.make_script(self.dirname, basename, compiled=compiled)
7236 self.check_usage(f'{py} -m {modulename}',
7237 '-m', modulename, PYTHONPATH=os.curdir)
7238
7239 def test_module_compiled(self):
7240 self.test_module(compiled=True)

Callers 1

test_module_compiledMethod · 0.95

Calls 2

make_scriptMethod · 0.95
check_usageMethod · 0.95

Tested by

no test coverage detected