Comments (6)
For reference, here's the output in verbose mode:
Expand
wannes@Stefans-iMac main % ./python.exe -m test -R 3:3 test_venv -v
== CPython 3.14.0a0 (heads/main:13a5fdc72f, Jun 2 2024, 16:04:47) [Clang 15.0.0 (clang-1500.1.0.2.5)]
== macOS-13.6.7-x86_64-i386-64bit-Mach-O little-endian
== Python build: debug
== cwd: /Users/wannes/Documents/GitHub/cpython/main/build/test_python_worker_27312æ
== CPU count: 8
== encodings: locale=UTF-8 FS=utf-8
== resources: all test resources are disabled, use -u option to unskip tests
Using random seed: 1858447734
0:00:00 load avg: 5.41 Run 1 test sequentially
0:00:00 load avg: 5.41 [1/1] test_venv
beginning 6 repetitions. Showing number of leaks (. for 0 or less, X for 10 or more)
123:456
test_activate_shell_script_has_no_dos_newlines (test.test_venv.BasicTest.test_activate_shell_script_has_no_dos_newlines)
Test that the `activate` shell script contains no CR LF. ... ok
test_cli_with_scm_ignore_files (test.test_venv.BasicTest.test_cli_with_scm_ignore_files)
Test that default SCM ignore files are created by default via the CLI. ... ok
test_cli_without_scm_ignore_files (test.test_venv.BasicTest.test_cli_without_scm_ignore_files)
Test that ``--without-scm-ignore-files`` doesn't create SCM ignore files. ... ok
test_config_file_command_key (test.test_venv.BasicTest.test_config_file_command_key) ... ok
test_create_scm_ignore_files_empty (test.test_venv.BasicTest.test_create_scm_ignore_files_empty)
Test that no default ignore files are created when ``scm_ignore_files`` ... ok
test_create_scm_ignore_files_multiple (test.test_venv.BasicTest.test_create_scm_ignore_files_multiple)
Test that ``scm_ignore_files`` can work with multiple SCMs. ... ok
test_deactivate_with_strict_bash_opts (test.test_venv.BasicTest.test_deactivate_with_strict_bash_opts) ... ok
test_defaults_with_pathlike (test.test_venv.BasicTest.test_defaults_with_pathlike)
Test the create function with default arguments and a path-like path. ... ok
test_defaults_with_str_path (test.test_venv.BasicTest.test_defaults_with_str_path)
Test the create function with default arguments and a str path. ... ok
test_executable (test.test_venv.BasicTest.test_executable)
Test that the sys.executable value is as expected. ... ok
test_executable_symlinks (test.test_venv.BasicTest.test_executable_symlinks)
Test that the sys.executable value is as expected. ... ok
test_isolation (test.test_venv.BasicTest.test_isolation)
Test isolation from system site-packages ... ok
test_macos_env (test.test_venv.BasicTest.test_macos_env) ... ok
test_multiprocessing (test.test_venv.BasicTest.test_multiprocessing)
Test that the multiprocessing is able to spawn. ... ok
test_multiprocessing_recursion (test.test_venv.BasicTest.test_multiprocessing_recursion)
Test that the multiprocessing is able to spawn itself ... ok
test_overwrite_existing (test.test_venv.BasicTest.test_overwrite_existing)
Test creating environment in an existing directory. ... ok
test_pathsep_error (test.test_venv.BasicTest.test_pathsep_error)
Test that venv creation fails when the target directory contains ... ok
test_prefixes (test.test_venv.BasicTest.test_prefixes)
Test that the prefix values are as expected. ... ok
test_prompt (test.test_venv.BasicTest.test_prompt) ... ok
test_scm_ignore_files_git (test.test_venv.BasicTest.test_scm_ignore_files_git)
Test that a .gitignore file is created when "git" is specified. ... ok
test_symlinking (test.test_venv.BasicTest.test_symlinking)
Test symlinking works as expected ... ok
test_sysconfig (test.test_venv.BasicTest.test_sysconfig)
Test that the sysconfig functions work in a virtual environment. ... ok
test_sysconfig_symlinks (test.test_venv.BasicTest.test_sysconfig_symlinks)
Test that the sysconfig functions work in a virtual environment. ... ok
test_unicode_in_batch_file (test.test_venv.BasicTest.test_unicode_in_batch_file)
Test handling of Unicode paths ... skipped 'only relevant on Windows'
test_unoverwritable_fails (test.test_venv.BasicTest.test_unoverwritable_fails) ... ok
test_upgrade (test.test_venv.BasicTest.test_upgrade)
Test upgrading an existing environment directory. ... ok
test_upgrade_dependencies (test.test_venv.BasicTest.test_upgrade_dependencies) ... ok
test_venv_same_path (test.test_venv.BasicTest.test_venv_same_path) ... ok
test_zippath_from_non_installed_posix (test.test_venv.BasicTest.test_zippath_from_non_installed_posix)
Test that when create venv from non-installed python, the zip path ... Could not find platform dependent libraries <exec_prefix>
ok
test_devnull (test.test_venv.EnsurePipTest.test_devnull) ... ok
test_explicit_no_pip (test.test_venv.EnsurePipTest.test_explicit_no_pip) ... ok
test_no_pip_by_default (test.test_venv.EnsurePipTest.test_no_pip_by_default) ... ok
test_with_pip (test.test_venv.EnsurePipTest.test_with_pip) ... skipped "resource 'cpu' is not enabled"
----------------------------------------------------------------------
Ran 33 tests in 5.973s
OK (skipped=2)
Xtest_activate_shell_script_has_no_dos_newlines (test.test_venv.BasicTest.test_activate_shell_script_has_no_dos_newlines)
Test that the `activate` shell script contains no CR LF. ... ok
test_cli_with_scm_ignore_files (test.test_venv.BasicTest.test_cli_with_scm_ignore_files)
Test that default SCM ignore files are created by default via the CLI. ... ok
test_cli_without_scm_ignore_files (test.test_venv.BasicTest.test_cli_without_scm_ignore_files)
Test that ``--without-scm-ignore-files`` doesn't create SCM ignore files. ... ok
test_config_file_command_key (test.test_venv.BasicTest.test_config_file_command_key) ... ok
test_create_scm_ignore_files_empty (test.test_venv.BasicTest.test_create_scm_ignore_files_empty)
Test that no default ignore files are created when ``scm_ignore_files`` ... ok
test_create_scm_ignore_files_multiple (test.test_venv.BasicTest.test_create_scm_ignore_files_multiple)
Test that ``scm_ignore_files`` can work with multiple SCMs. ... ok
test_deactivate_with_strict_bash_opts (test.test_venv.BasicTest.test_deactivate_with_strict_bash_opts) ... ok
test_defaults_with_pathlike (test.test_venv.BasicTest.test_defaults_with_pathlike)
Test the create function with default arguments and a path-like path. ... ok
test_defaults_with_str_path (test.test_venv.BasicTest.test_defaults_with_str_path)
Test the create function with default arguments and a str path. ... ok
test_executable (test.test_venv.BasicTest.test_executable)
Test that the sys.executable value is as expected. ... ok
test_executable_symlinks (test.test_venv.BasicTest.test_executable_symlinks)
Test that the sys.executable value is as expected. ... ok
test_isolation (test.test_venv.BasicTest.test_isolation)
Test isolation from system site-packages ... ok
test_macos_env (test.test_venv.BasicTest.test_macos_env) ... ok
test_multiprocessing (test.test_venv.BasicTest.test_multiprocessing)
Test that the multiprocessing is able to spawn. ... ok
test_multiprocessing_recursion (test.test_venv.BasicTest.test_multiprocessing_recursion)
Test that the multiprocessing is able to spawn itself ... ok
test_overwrite_existing (test.test_venv.BasicTest.test_overwrite_existing)
Test creating environment in an existing directory. ... ok
test_pathsep_error (test.test_venv.BasicTest.test_pathsep_error)
Test that venv creation fails when the target directory contains ... ok
test_prefixes (test.test_venv.BasicTest.test_prefixes)
Test that the prefix values are as expected. ... ok
test_prompt (test.test_venv.BasicTest.test_prompt) ... ok
test_scm_ignore_files_git (test.test_venv.BasicTest.test_scm_ignore_files_git)
Test that a .gitignore file is created when "git" is specified. ... ok
test_symlinking (test.test_venv.BasicTest.test_symlinking)
Test symlinking works as expected ... ok
test_sysconfig (test.test_venv.BasicTest.test_sysconfig)
Test that the sysconfig functions work in a virtual environment. ... ok
test_sysconfig_symlinks (test.test_venv.BasicTest.test_sysconfig_symlinks)
Test that the sysconfig functions work in a virtual environment. ... ok
test_unicode_in_batch_file (test.test_venv.BasicTest.test_unicode_in_batch_file)
Test handling of Unicode paths ... skipped 'only relevant on Windows'
test_unoverwritable_fails (test.test_venv.BasicTest.test_unoverwritable_fails) ... ok
test_upgrade (test.test_venv.BasicTest.test_upgrade)
Test upgrading an existing environment directory. ... ok
test_upgrade_dependencies (test.test_venv.BasicTest.test_upgrade_dependencies) ... ok
test_venv_same_path (test.test_venv.BasicTest.test_venv_same_path) ... ok
test_zippath_from_non_installed_posix (test.test_venv.BasicTest.test_zippath_from_non_installed_posix)
Test that when create venv from non-installed python, the zip path ... Could not find platform dependent libraries <exec_prefix>
ok
test_devnull (test.test_venv.EnsurePipTest.test_devnull) ... ok
test_explicit_no_pip (test.test_venv.EnsurePipTest.test_explicit_no_pip) ... ok
test_no_pip_by_default (test.test_venv.EnsurePipTest.test_no_pip_by_default) ... ok
test_with_pip (test.test_venv.EnsurePipTest.test_with_pip) ... skipped "resource 'cpu' is not enabled"
----------------------------------------------------------------------
Ran 33 tests in 6.038s
OK (skipped=2)
Xtest_activate_shell_script_has_no_dos_newlines (test.test_venv.BasicTest.test_activate_shell_script_has_no_dos_newlines)
Test that the `activate` shell script contains no CR LF. ... ok
test_cli_with_scm_ignore_files (test.test_venv.BasicTest.test_cli_with_scm_ignore_files)
Test that default SCM ignore files are created by default via the CLI. ... ok
test_cli_without_scm_ignore_files (test.test_venv.BasicTest.test_cli_without_scm_ignore_files)
Test that ``--without-scm-ignore-files`` doesn't create SCM ignore files. ... ok
test_config_file_command_key (test.test_venv.BasicTest.test_config_file_command_key) ... ok
test_create_scm_ignore_files_empty (test.test_venv.BasicTest.test_create_scm_ignore_files_empty)
Test that no default ignore files are created when ``scm_ignore_files`` ... ok
test_create_scm_ignore_files_multiple (test.test_venv.BasicTest.test_create_scm_ignore_files_multiple)
Test that ``scm_ignore_files`` can work with multiple SCMs. ... ok
test_deactivate_with_strict_bash_opts (test.test_venv.BasicTest.test_deactivate_with_strict_bash_opts) ... ok
test_defaults_with_pathlike (test.test_venv.BasicTest.test_defaults_with_pathlike)
Test the create function with default arguments and a path-like path. ... ok
test_defaults_with_str_path (test.test_venv.BasicTest.test_defaults_with_str_path)
Test the create function with default arguments and a str path. ... ok
test_executable (test.test_venv.BasicTest.test_executable)
Test that the sys.executable value is as expected. ... ok
test_executable_symlinks (test.test_venv.BasicTest.test_executable_symlinks)
Test that the sys.executable value is as expected. ... ok
test_isolation (test.test_venv.BasicTest.test_isolation)
Test isolation from system site-packages ... ok
test_macos_env (test.test_venv.BasicTest.test_macos_env) ... ok
test_multiprocessing (test.test_venv.BasicTest.test_multiprocessing)
Test that the multiprocessing is able to spawn. ... ok
test_multiprocessing_recursion (test.test_venv.BasicTest.test_multiprocessing_recursion)
Test that the multiprocessing is able to spawn itself ... ok
test_overwrite_existing (test.test_venv.BasicTest.test_overwrite_existing)
Test creating environment in an existing directory. ... ok
test_pathsep_error (test.test_venv.BasicTest.test_pathsep_error)
Test that venv creation fails when the target directory contains ... ok
test_prefixes (test.test_venv.BasicTest.test_prefixes)
Test that the prefix values are as expected. ... ok
test_prompt (test.test_venv.BasicTest.test_prompt) ... ok
test_scm_ignore_files_git (test.test_venv.BasicTest.test_scm_ignore_files_git)
Test that a .gitignore file is created when "git" is specified. ... ok
test_symlinking (test.test_venv.BasicTest.test_symlinking)
Test symlinking works as expected ... ok
test_sysconfig (test.test_venv.BasicTest.test_sysconfig)
Test that the sysconfig functions work in a virtual environment. ... ok
test_sysconfig_symlinks (test.test_venv.BasicTest.test_sysconfig_symlinks)
Test that the sysconfig functions work in a virtual environment. ... ok
test_unicode_in_batch_file (test.test_venv.BasicTest.test_unicode_in_batch_file)
Test handling of Unicode paths ... skipped 'only relevant on Windows'
test_unoverwritable_fails (test.test_venv.BasicTest.test_unoverwritable_fails) ... ok
test_upgrade (test.test_venv.BasicTest.test_upgrade)
Test upgrading an existing environment directory. ... ok
test_upgrade_dependencies (test.test_venv.BasicTest.test_upgrade_dependencies) ... ok
test_venv_same_path (test.test_venv.BasicTest.test_venv_same_path) ... ok
test_zippath_from_non_installed_posix (test.test_venv.BasicTest.test_zippath_from_non_installed_posix)
Test that when create venv from non-installed python, the zip path ... Could not find platform dependent libraries <exec_prefix>
ok
test_devnull (test.test_venv.EnsurePipTest.test_devnull) ... ok
test_explicit_no_pip (test.test_venv.EnsurePipTest.test_explicit_no_pip) ... ok
test_no_pip_by_default (test.test_venv.EnsurePipTest.test_no_pip_by_default) ... ok
test_with_pip (test.test_venv.EnsurePipTest.test_with_pip) ... skipped "resource 'cpu' is not enabled"
----------------------------------------------------------------------
Ran 33 tests in 6.172s
OK (skipped=2)
.test_activate_shell_script_has_no_dos_newlines (test.test_venv.BasicTest.test_activate_shell_script_has_no_dos_newlines)
Test that the `activate` shell script contains no CR LF. ... ok
test_cli_with_scm_ignore_files (test.test_venv.BasicTest.test_cli_with_scm_ignore_files)
Test that default SCM ignore files are created by default via the CLI. ... ok
test_cli_without_scm_ignore_files (test.test_venv.BasicTest.test_cli_without_scm_ignore_files)
Test that ``--without-scm-ignore-files`` doesn't create SCM ignore files. ... ok
test_config_file_command_key (test.test_venv.BasicTest.test_config_file_command_key) ... ok
test_create_scm_ignore_files_empty (test.test_venv.BasicTest.test_create_scm_ignore_files_empty)
Test that no default ignore files are created when ``scm_ignore_files`` ... ok
test_create_scm_ignore_files_multiple (test.test_venv.BasicTest.test_create_scm_ignore_files_multiple)
Test that ``scm_ignore_files`` can work with multiple SCMs. ... ok
test_deactivate_with_strict_bash_opts (test.test_venv.BasicTest.test_deactivate_with_strict_bash_opts) ... ok
test_defaults_with_pathlike (test.test_venv.BasicTest.test_defaults_with_pathlike)
Test the create function with default arguments and a path-like path. ... ok
test_defaults_with_str_path (test.test_venv.BasicTest.test_defaults_with_str_path)
Test the create function with default arguments and a str path. ... ok
test_executable (test.test_venv.BasicTest.test_executable)
Test that the sys.executable value is as expected. ... ok
test_executable_symlinks (test.test_venv.BasicTest.test_executable_symlinks)
Test that the sys.executable value is as expected. ... ok
test_isolation (test.test_venv.BasicTest.test_isolation)
Test isolation from system site-packages ... ok
test_macos_env (test.test_venv.BasicTest.test_macos_env) ... ok
test_multiprocessing (test.test_venv.BasicTest.test_multiprocessing)
Test that the multiprocessing is able to spawn. ... ok
test_multiprocessing_recursion (test.test_venv.BasicTest.test_multiprocessing_recursion)
Test that the multiprocessing is able to spawn itself ... ok
test_overwrite_existing (test.test_venv.BasicTest.test_overwrite_existing)
Test creating environment in an existing directory. ... ok
test_pathsep_error (test.test_venv.BasicTest.test_pathsep_error)
Test that venv creation fails when the target directory contains ... ok
test_prefixes (test.test_venv.BasicTest.test_prefixes)
Test that the prefix values are as expected. ... ok
test_prompt (test.test_venv.BasicTest.test_prompt) ... ok
test_scm_ignore_files_git (test.test_venv.BasicTest.test_scm_ignore_files_git)
Test that a .gitignore file is created when "git" is specified. ... ok
test_symlinking (test.test_venv.BasicTest.test_symlinking)
Test symlinking works as expected ... ok
test_sysconfig (test.test_venv.BasicTest.test_sysconfig)
Test that the sysconfig functions work in a virtual environment. ... ok
test_sysconfig_symlinks (test.test_venv.BasicTest.test_sysconfig_symlinks)
Test that the sysconfig functions work in a virtual environment. ... ok
test_unicode_in_batch_file (test.test_venv.BasicTest.test_unicode_in_batch_file)
Test handling of Unicode paths ... skipped 'only relevant on Windows'
test_unoverwritable_fails (test.test_venv.BasicTest.test_unoverwritable_fails) ... ok
test_upgrade (test.test_venv.BasicTest.test_upgrade)
Test upgrading an existing environment directory. ... ok
test_upgrade_dependencies (test.test_venv.BasicTest.test_upgrade_dependencies) ... ok
test_venv_same_path (test.test_venv.BasicTest.test_venv_same_path) ... ok
test_zippath_from_non_installed_posix (test.test_venv.BasicTest.test_zippath_from_non_installed_posix)
Test that when create venv from non-installed python, the zip path ... Could not find platform dependent libraries <exec_prefix>
ok
test_devnull (test.test_venv.EnsurePipTest.test_devnull) ... ok
test_explicit_no_pip (test.test_venv.EnsurePipTest.test_explicit_no_pip) ... ok
test_no_pip_by_default (test.test_venv.EnsurePipTest.test_no_pip_by_default) ... ok
test_with_pip (test.test_venv.EnsurePipTest.test_with_pip) ... skipped "resource 'cpu' is not enabled"
----------------------------------------------------------------------
Ran 33 tests in 6.324s
OK (skipped=2)
.test_activate_shell_script_has_no_dos_newlines (test.test_venv.BasicTest.test_activate_shell_script_has_no_dos_newlines)
Test that the `activate` shell script contains no CR LF. ... ok
test_cli_with_scm_ignore_files (test.test_venv.BasicTest.test_cli_with_scm_ignore_files)
Test that default SCM ignore files are created by default via the CLI. ... ok
test_cli_without_scm_ignore_files (test.test_venv.BasicTest.test_cli_without_scm_ignore_files)
Test that ``--without-scm-ignore-files`` doesn't create SCM ignore files. ... ok
test_config_file_command_key (test.test_venv.BasicTest.test_config_file_command_key) ... ok
test_create_scm_ignore_files_empty (test.test_venv.BasicTest.test_create_scm_ignore_files_empty)
Test that no default ignore files are created when ``scm_ignore_files`` ... ok
test_create_scm_ignore_files_multiple (test.test_venv.BasicTest.test_create_scm_ignore_files_multiple)
Test that ``scm_ignore_files`` can work with multiple SCMs. ... ok
test_deactivate_with_strict_bash_opts (test.test_venv.BasicTest.test_deactivate_with_strict_bash_opts) ... ok
test_defaults_with_pathlike (test.test_venv.BasicTest.test_defaults_with_pathlike)
Test the create function with default arguments and a path-like path. ... ok
test_defaults_with_str_path (test.test_venv.BasicTest.test_defaults_with_str_path)
Test the create function with default arguments and a str path. ... ok
test_executable (test.test_venv.BasicTest.test_executable)
Test that the sys.executable value is as expected. ... ok
test_executable_symlinks (test.test_venv.BasicTest.test_executable_symlinks)
Test that the sys.executable value is as expected. ... ok
test_isolation (test.test_venv.BasicTest.test_isolation)
Test isolation from system site-packages ... ok
test_macos_env (test.test_venv.BasicTest.test_macos_env) ... ok
test_multiprocessing (test.test_venv.BasicTest.test_multiprocessing)
Test that the multiprocessing is able to spawn. ... ok
test_multiprocessing_recursion (test.test_venv.BasicTest.test_multiprocessing_recursion)
Test that the multiprocessing is able to spawn itself ... ok
test_overwrite_existing (test.test_venv.BasicTest.test_overwrite_existing)
Test creating environment in an existing directory. ... ok
test_pathsep_error (test.test_venv.BasicTest.test_pathsep_error)
Test that venv creation fails when the target directory contains ... ok
test_prefixes (test.test_venv.BasicTest.test_prefixes)
Test that the prefix values are as expected. ... ok
test_prompt (test.test_venv.BasicTest.test_prompt) ... ok
test_scm_ignore_files_git (test.test_venv.BasicTest.test_scm_ignore_files_git)
Test that a .gitignore file is created when "git" is specified. ... ok
test_symlinking (test.test_venv.BasicTest.test_symlinking)
Test symlinking works as expected ... ok
test_sysconfig (test.test_venv.BasicTest.test_sysconfig)
Test that the sysconfig functions work in a virtual environment. ... ok
test_sysconfig_symlinks (test.test_venv.BasicTest.test_sysconfig_symlinks)
Test that the sysconfig functions work in a virtual environment. ... ok
test_unicode_in_batch_file (test.test_venv.BasicTest.test_unicode_in_batch_file)
Test handling of Unicode paths ... skipped 'only relevant on Windows'
test_unoverwritable_fails (test.test_venv.BasicTest.test_unoverwritable_fails) ... ok
test_upgrade (test.test_venv.BasicTest.test_upgrade)
Test upgrading an existing environment directory. ... ok
test_upgrade_dependencies (test.test_venv.BasicTest.test_upgrade_dependencies) ... ok
test_venv_same_path (test.test_venv.BasicTest.test_venv_same_path) ... ok
test_zippath_from_non_installed_posix (test.test_venv.BasicTest.test_zippath_from_non_installed_posix)
Test that when create venv from non-installed python, the zip path ... Could not find platform dependent libraries <exec_prefix>
ok
test_devnull (test.test_venv.EnsurePipTest.test_devnull) ... ok
test_explicit_no_pip (test.test_venv.EnsurePipTest.test_explicit_no_pip) ... ok
test_no_pip_by_default (test.test_venv.EnsurePipTest.test_no_pip_by_default) ... ok
test_with_pip (test.test_venv.EnsurePipTest.test_with_pip) ... skipped "resource 'cpu' is not enabled"
----------------------------------------------------------------------
Ran 33 tests in 6.043s
OK (skipped=2)
.test_activate_shell_script_has_no_dos_newlines (test.test_venv.BasicTest.test_activate_shell_script_has_no_dos_newlines)
Test that the `activate` shell script contains no CR LF. ... ok
test_cli_with_scm_ignore_files (test.test_venv.BasicTest.test_cli_with_scm_ignore_files)
Test that default SCM ignore files are created by default via the CLI. ... ok
test_cli_without_scm_ignore_files (test.test_venv.BasicTest.test_cli_without_scm_ignore_files)
Test that ``--without-scm-ignore-files`` doesn't create SCM ignore files. ... ok
test_config_file_command_key (test.test_venv.BasicTest.test_config_file_command_key) ... ok
test_create_scm_ignore_files_empty (test.test_venv.BasicTest.test_create_scm_ignore_files_empty)
Test that no default ignore files are created when ``scm_ignore_files`` ... ok
test_create_scm_ignore_files_multiple (test.test_venv.BasicTest.test_create_scm_ignore_files_multiple)
Test that ``scm_ignore_files`` can work with multiple SCMs. ... ok
test_deactivate_with_strict_bash_opts (test.test_venv.BasicTest.test_deactivate_with_strict_bash_opts) ... ok
test_defaults_with_pathlike (test.test_venv.BasicTest.test_defaults_with_pathlike)
Test the create function with default arguments and a path-like path. ... ok
test_defaults_with_str_path (test.test_venv.BasicTest.test_defaults_with_str_path)
Test the create function with default arguments and a str path. ... ok
test_executable (test.test_venv.BasicTest.test_executable)
Test that the sys.executable value is as expected. ... ok
test_executable_symlinks (test.test_venv.BasicTest.test_executable_symlinks)
Test that the sys.executable value is as expected. ... ok
test_isolation (test.test_venv.BasicTest.test_isolation)
Test isolation from system site-packages ... ok
test_macos_env (test.test_venv.BasicTest.test_macos_env) ... ok
test_multiprocessing (test.test_venv.BasicTest.test_multiprocessing)
Test that the multiprocessing is able to spawn. ... ok
test_multiprocessing_recursion (test.test_venv.BasicTest.test_multiprocessing_recursion)
Test that the multiprocessing is able to spawn itself ... ok
test_overwrite_existing (test.test_venv.BasicTest.test_overwrite_existing)
Test creating environment in an existing directory. ... ok
test_pathsep_error (test.test_venv.BasicTest.test_pathsep_error)
Test that venv creation fails when the target directory contains ... ok
test_prefixes (test.test_venv.BasicTest.test_prefixes)
Test that the prefix values are as expected. ... ok
test_prompt (test.test_venv.BasicTest.test_prompt) ... ok
test_scm_ignore_files_git (test.test_venv.BasicTest.test_scm_ignore_files_git)
Test that a .gitignore file is created when "git" is specified. ... ok
test_symlinking (test.test_venv.BasicTest.test_symlinking)
Test symlinking works as expected ... ok
test_sysconfig (test.test_venv.BasicTest.test_sysconfig)
Test that the sysconfig functions work in a virtual environment. ... ok
test_sysconfig_symlinks (test.test_venv.BasicTest.test_sysconfig_symlinks)
Test that the sysconfig functions work in a virtual environment. ... ok
test_unicode_in_batch_file (test.test_venv.BasicTest.test_unicode_in_batch_file)
Test handling of Unicode paths ... skipped 'only relevant on Windows'
test_unoverwritable_fails (test.test_venv.BasicTest.test_unoverwritable_fails) ... ok
test_upgrade (test.test_venv.BasicTest.test_upgrade)
Test upgrading an existing environment directory. ... ok
test_upgrade_dependencies (test.test_venv.BasicTest.test_upgrade_dependencies) ... ok
test_venv_same_path (test.test_venv.BasicTest.test_venv_same_path) ... ok
test_zippath_from_non_installed_posix (test.test_venv.BasicTest.test_zippath_from_non_installed_posix)
Test that when create venv from non-installed python, the zip path ... Could not find platform dependent libraries <exec_prefix>
ok
test_devnull (test.test_venv.EnsurePipTest.test_devnull) ... ok
test_explicit_no_pip (test.test_venv.EnsurePipTest.test_explicit_no_pip) ... ok
test_no_pip_by_default (test.test_venv.EnsurePipTest.test_no_pip_by_default) ... ok
test_with_pip (test.test_venv.EnsurePipTest.test_with_pip) ... skipped "resource 'cpu' is not enabled"
----------------------------------------------------------------------
Ran 33 tests in 6.207s
OK (skipped=2)
.
test_venv passed in 37.1 sec
== Tests result: SUCCESS ==
1 test OK.
Total duration: 37.1 sec
Total tests: run=33 skipped=2
Total test files: run=1/1
Result: SUCCESS
from cpython.
This is the culprit:
Line 655 in f79ffc8
from cpython.
Why does it matter if this output is shown? It seems wrong to just send all stderr output to DEVNULL
, as your PR does.
from cpython.
Would you prefer to modify check_output()
to support passing env
? We don't want to display stderr when the exit code is 0.
from cpython.
No, I'd prefer to leave things as they are!
from cpython.
OK, close the issue in that case.
from cpython.
Related Issues (20)
- Remove explicit `object` inheritance in some tests in `test_unittest` HOT 1
- Emscripten: Use updated WebAssembly type reflection proposal
- Emscripten trampolines not quite right since #106219
- Incomplete test coverage for `unittest.util` HOT 1
- [C API] Add PyBytesWriter API HOT 2
- `python -m asyncio` returns 0 when failing with ENOTTY in the runner thread HOT 1
- `make test` fails on Linux (Ubuntu20.04) ext4 with mounted ntfs
- Auto complete modules in new PyREPL
- test_deadlock sometimes causes deadlock HOT 1
- multirpocessing.Pool in spawn mode breaks logging.handlers.QueueHandler configuration
- mimalloc build fails on GNU/Hurd due to undeclared 'open' HOT 1
- Cannot read package data file after opening with importlib.resources.files(anchor) and running with zipapp
- Numba JIT, Function Signature, Tuple int64 HOT 1
- Inconsistent behaviour for ALT+Enter keybinding in pyrepl, ipython and ptpython HOT 1
- Discrepancy in docs for `PyModule_AddObjectRef` HOT 2
- PyThreadState_Clear, tstate_activate/_PyThreadState_Attach and drop_gil race race on TSAN HOT 1
- Removal of private C-API breaks uwsgi compilation HOT 1
- Unique `pathlib.Path` instances cause memory usage to increase indefinitely in 3.12 only HOT 1
- Add `dict` move_to_end(last=False) functionality in the `OrderedDict` documentation HOT 4
- `test_strptime` fails when `time.strftime` does not support `%Z` format string
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cpython.