mirror of
https://github.com/python/cpython.git
synced 2026-03-30 00:21:21 +00:00
It is not possible to unload a module written in C, so use a subprocess to run the tests on the module compiled by test_build_ext(). Using a subprocess, we don't have to unload the module, save/restore sys.path, and the test can be run more than once. This commit fixes also an access error on rmtree() on Windows: because the module was not really unloaded, it was not possible to remove the temporary directory (it is not possible to remove a directory on Windows if it still contains an open file). |
||
|---|---|---|
| .. | ||
| command | ||
| compiler | ||
| pypi | ||
| tests | ||
| __init__.py | ||
| _trove.py | ||
| compat.py | ||
| config.py | ||
| create.py | ||
| database.py | ||
| depgraph.py | ||
| dist.py | ||
| errors.py | ||
| fancy_getopt.py | ||
| install.py | ||
| manifest.py | ||
| markers.py | ||
| metadata.py | ||
| run.py | ||
| util.py | ||
| version.py | ||