mirror of
https://github.com/python/cpython.git
synced 2026-01-23 23:59:00 +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). |
||
|---|---|---|
| .. | ||
| fake_dists | ||
| fixer | ||
| pypiserver | ||
| __init__.py | ||
| __main__.py | ||
| LONG_DESC.txt | ||
| PKG-INFO | ||
| pypi_server.py | ||
| pypi_test_server.py | ||
| SETUPTOOLS-PKG-INFO | ||
| SETUPTOOLS-PKG-INFO2 | ||
| support.py | ||
| test_ccompiler.py | ||
| test_command_bdist.py | ||
| test_command_bdist_dumb.py | ||
| test_command_bdist_msi.py | ||
| test_command_bdist_wininst.py | ||
| test_command_build.py | ||
| test_command_build_clib.py | ||
| test_command_build_ext.py | ||
| test_command_build_py.py | ||
| test_command_build_scripts.py | ||
| test_command_check.py | ||
| test_command_clean.py | ||
| test_command_cmd.py | ||
| test_command_config.py | ||
| test_command_install_data.py | ||
| test_command_install_dist.py | ||
| test_command_install_distinfo.py | ||
| test_command_install_headers.py | ||
| test_command_install_lib.py | ||
| test_command_install_scripts.py | ||
| test_command_register.py | ||
| test_command_sdist.py | ||
| test_command_test.py | ||
| test_command_upload.py | ||
| test_command_upload_docs.py | ||
| test_compiler.py | ||
| test_config.py | ||
| test_create.py | ||
| test_cygwinccompiler.py | ||
| test_database.py | ||
| test_depgraph.py | ||
| test_dist.py | ||
| test_extension.py | ||
| test_install.py | ||
| test_manifest.py | ||
| test_markers.py | ||
| test_metadata.py | ||
| test_mixin2to3.py | ||
| test_msvc9compiler.py | ||
| test_pypi_dist.py | ||
| test_pypi_server.py | ||
| test_pypi_simple.py | ||
| test_pypi_xmlrpc.py | ||
| test_run.py | ||
| test_uninstall.py | ||
| test_unixccompiler.py | ||
| test_util.py | ||
| test_version.py | ||