MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / copy_xxmodule_c

Function copy_xxmodule_c

Lib/distutils/tests/support.py:148–164  ·  view source on GitHub ↗

Helper for tests that need the xxmodule.c source file. Example use: def test_compile(self): copy_xxmodule_c(self.tmpdir) self.assertIn('xxmodule.c', os.listdir(self.tmpdir)) If the source file can be found, it will be copied to *directory*. If not, the

(directory)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

_get_xxmodule_pathFunction · 0.85
copyMethod · 0.45

Tested by

no test coverage detected