1 test failed: test_packaging 3 tests altered the execution environment: test_multiprocessing test_site test_sysconfig 7 tests skipped: test_kqueue test_msilib test_ossaudiodev test_startfile test_winreg test_winsound test_zipfile64 Those skips are all expected on linux. Re-running failed tests in verbose mode Re-running test 'test_packaging' in verbose mode test_final_exemple_glob (packaging.tests.test_database.DataFilesTestCase) ... ok test_get_file (packaging.tests.test_database.DataFilesTestCase) ... ok test_glob_in_base (packaging.tests.test_database.DataFilesTestCase) ... ok test_multiple_match (packaging.tests.test_database.DataFilesTestCase) ... ok test_recursive_glob (packaging.tests.test_database.DataFilesTestCase) ... ok test_set_match (packaging.tests.test_database.DataFilesTestCase) ... ok test_set_match_exclude (packaging.tests.test_database.DataFilesTestCase) ... ok test_set_match_multiple (packaging.tests.test_database.DataFilesTestCase) ... ok test_simple_glob (packaging.tests.test_database.DataFilesTestCase) ... ok test_distinfo_dirname (packaging.tests.test_database.TestDatabase) ... ok test_get_distribution (packaging.tests.test_database.TestDatabase) ... ok test_get_distributions (packaging.tests.test_database.TestDatabase) ... ok test_get_file_users (packaging.tests.test_database.TestDatabase) ... ok test_obsoletes (packaging.tests.test_database.TestDatabase) ... ok test_provides (packaging.tests.test_database.TestDatabase) ... ok test_yield_distribution (packaging.tests.test_database.TestDatabase) ... ok test_comparison (packaging.tests.test_database.TestDistribution) ... ok test_get_distinfo_file (packaging.tests.test_database.TestDistribution) ... ok test_get_resources_path (packaging.tests.test_database.TestDistribution) ... ok test_instantiation (packaging.tests.test_database.TestDistribution) ... ok test_list_distinfo_files (packaging.tests.test_database.TestDistribution) ... ok test_list_installed_files (packaging.tests.test_database.TestDistribution) ... ok test_repr (packaging.tests.test_database.TestDistribution) ... ok test_uses (packaging.tests.test_database.TestDistribution) ... ok test_comparison (packaging.tests.test_database.TestEggInfoDistribution) ... ok test_instantiation (packaging.tests.test_database.TestEggInfoDistribution) ... ok test_list_installed_files (packaging.tests.test_database.TestEggInfoDistribution) ... skipped 'not implemented yet' test_repr (packaging.tests.test_database.TestEggInfoDistribution) ... ok test_dependent_dists (packaging.tests.test_depgraph.DepGraphTestCase) ... ok test_dependent_dists_egg (packaging.tests.test_depgraph.DepGraphTestCase) ... ok test_generate_graph (packaging.tests.test_depgraph.DepGraphTestCase) ... ok test_generate_graph_egg (packaging.tests.test_depgraph.DepGraphTestCase) ... ok test_graph_bad_version_to_dot (packaging.tests.test_depgraph.DepGraphTestCase) ... ok test_graph_disconnected_to_dot (packaging.tests.test_depgraph.DepGraphTestCase) ... ok test_graph_to_dot (packaging.tests.test_depgraph.DepGraphTestCase) ... ok test_main (packaging.tests.test_depgraph.DepGraphTestCase) ... ok test_repr (packaging.tests.test_depgraph.DepGraphTestCase) ... ok test_clean (packaging.tests.test_command_config.ConfigTestCase) ... ok test_dump_file (packaging.tests.test_command_config.ConfigTestCase) ... ok test_finalize_options (packaging.tests.test_command_config.ConfigTestCase) ... ok test_search_cpp (packaging.tests.test_command_config.ConfigTestCase) ... ok test_bad_attr (packaging.tests.test_dist.DistributionTestCase) ... ok test_custom_pydistutils (packaging.tests.test_dist.DistributionTestCase) ... ok test_debug_mode (packaging.tests.test_dist.DistributionTestCase) ... skipped 'needs to be updated' test_empty_options (packaging.tests.test_dist.DistributionTestCase) ... ok test_finalize_options (packaging.tests.test_dist.DistributionTestCase) ... ok test_find_config_files_disable (packaging.tests.test_dist.DistributionTestCase) ... ok test_hooks_callable (packaging.tests.test_dist.DistributionTestCase) ... ok test_hooks_get_run (packaging.tests.test_dist.DistributionTestCase) ... ok test_hooks_importable (packaging.tests.test_dist.DistributionTestCase) ... ok test_non_empty_options (packaging.tests.test_dist.DistributionTestCase) ... ok test_special_hooks_parsing (packaging.tests.test_dist.DistributionTestCase) ... ok test_ask (packaging.tests.test_create.CreateTestCase) ... ok test_ask_yn (packaging.tests.test_create.CreateTestCase) ... ok test_convert_setup_py_to_cfg (packaging.tests.test_create.CreateTestCase) ... ok test_convert_setup_py_to_cfg_with_description_in_readme (packaging.tests.test_create.CreateTestCase) ... ok test_find_files (packaging.tests.test_create.CreateTestCase) ... ok test_set_multi (packaging.tests.test_create.CreateTestCase) ... ok test_builds_before_running_tests (packaging.tests.test_command_test.TestTest) ... ok test_calls_discover (packaging.tests.test_command_test.TestTest) ... ok test_checks_requires (packaging.tests.test_command_test.TestTest) ... ok test_custom_runner (packaging.tests.test_command_test.TestTest) ... ok test_gets_unittest_discovery (packaging.tests.test_command_test.TestTest) ... ok test_runs_unittest (packaging.tests.test_command_test.TestTest) ... ok test_works_with_2to3 (packaging.tests.test_command_test.TestTest) ... skipped 'needs to be written' test_finalize_options (packaging.tests.test_command_bdist_dumb.BuildDumbTestCase) ... ok test_simple_built (packaging.tests.test_command_bdist_dumb.BuildDumbTestCase) ... copying build/lib/foo.py -> build/bdist.linux-i686/dumb/usr/local/lib/python3.3/site-packages ok test_bad_urls (packaging.tests.test_pypi_simple.SimpleCrawlerTestCase) ... ok test_browse_local_files (packaging.tests.test_pypi_simple.SimpleCrawlerTestCase) ... ok test_default_link_matcher (packaging.tests.test_pypi_simple.SimpleCrawlerTestCase) ... ok test_follow_externals (packaging.tests.test_pypi_simple.SimpleCrawlerTestCase) ... ok test_found_links (packaging.tests.test_pypi_simple.SimpleCrawlerTestCase) ... ok test_get_link_matcher (packaging.tests.test_pypi_simple.SimpleCrawlerTestCase) ... ok test_is_browsable (packaging.tests.test_pypi_simple.SimpleCrawlerTestCase) ... ok test_links_priority (packaging.tests.test_pypi_simple.SimpleCrawlerTestCase) ... ok test_not_scan_all_links (packaging.tests.test_pypi_simple.SimpleCrawlerTestCase) ... ok test_restrict_hosts (packaging.tests.test_pypi_simple.SimpleCrawlerTestCase) ... ok test_search_projects (packaging.tests.test_pypi_simple.SimpleCrawlerTestCase) ... ok test_simple_link_matcher (packaging.tests.test_pypi_simple.SimpleCrawlerTestCase) ... ok test_uses_mirrors (packaging.tests.test_pypi_simple.SimpleCrawlerTestCase) ... /home/westley/Projects/cpython/Lib/packaging/pypi/simple.py:87: ResourceWarning: unclosed return wrapped(self, *args, **kwargs) ok test_basic_versions (packaging.tests.test_version.VersionTestCase) ... ok test_comparison (packaging.tests.test_version.VersionTestCase) ... ok test_from_parts (packaging.tests.test_version.VersionTestCase) ... ok test_hash (packaging.tests.test_version.VersionTestCase) ... ok test_huge_version (packaging.tests.test_version.VersionTestCase) ... ok test_irrational_versions (packaging.tests.test_version.VersionTestCase) ... ok test_is_final (packaging.tests.test_version.VersionTestCase) ... ok test_predicate (packaging.tests.test_version.VersionTestCase) ... ok test_predicate_name (packaging.tests.test_version.VersionTestCase) ... ok test_repr (packaging.tests.test_version.VersionTestCase) ... ok test_suggest_normalized_version (packaging.tests.test_version.VersionTestCase) ... ok test_parse_numdots (packaging.tests.test_version.VersionWhiteBoxTestCase) ... ok test_no_compiler (packaging.tests.test_msvc9compiler.msvc9compilerTestCase) ... skipped 'runs only on win32' test_reg_class (packaging.tests.test_msvc9compiler.msvc9compilerTestCase) ... skipped 'runs only on win32' test_remove_visual_c_ref (packaging.tests.test_msvc9compiler.msvc9compilerTestCase) ... skipped 'runs only on win32' test_customize_compiler (packaging.tests.test_compiler.CompilerTestCase) ... ok test_gen_lib_options (packaging.tests.test_compiler.CompilerTestCase) ... ok test_conflicts (packaging.tests.test_install.TestInstall) ... ok test_existing_deps (packaging.tests.test_install.TestInstall) ... ok test_install_dists_rollback (packaging.tests.test_install.TestInstall) ... ok test_install_dists_success (packaging.tests.test_install.TestInstall) ... ok test_install_from_infos_conflict (packaging.tests.test_install.TestInstall) ... ok test_install_from_infos_install_succes (packaging.tests.test_install.TestInstall) ... ok test_install_from_infos_remove_rollback (packaging.tests.test_install.TestInstall) ... ok test_install_from_infos_remove_success (packaging.tests.test_install.TestInstall) ... ok test_install_permission_denied (packaging.tests.test_install.TestInstall) ... ok test_installation_unexisting_project (packaging.tests.test_install.TestInstall) ... ok test_move_files (packaging.tests.test_install.TestInstall) ... ok test_update_infos (packaging.tests.test_install.TestInstall) ... ok test_upgrade_existing_deps (packaging.tests.test_install.TestInstall) ... ok test_resources (packaging.tests.test_command_install_data.InstallDataTestCase) ... ERROR test_simple_run (packaging.tests.test_command_install_data.InstallDataTestCase) ... ok test_finalize_options (packaging.tests.test_command_install_dist.InstallTestCase) ... ok test_handle_extra_path (packaging.tests.test_command_install_dist.InstallTestCase) ... ok test_home_installation_scheme (packaging.tests.test_command_install_dist.InstallTestCase) ... ok test_old_record (packaging.tests.test_command_install_dist.InstallTestCase) ... copying build/lib/hello.py -> /tmp/tmpf_molo/tmpbfgop8/usr/local/lib/python3.3/site-packages copying build/scripts-3.3/sayhi -> /tmp/tmpf_molo/tmpbfgop8/tmp/tmpp7bpd6/tmpk9uea2 ok test_old_record_extensions (packaging.tests.test_command_install_dist.InstallTestCase) ... copying build/lib.linux-i686-3.3-pydebug/xx.cpython-33dm.so -> /tmp/tmprbn69o/tmp15fwro/usr/local/lib/python3.3/site-packages ok test_user_site (packaging.tests.test_command_install_dist.InstallTestCase) ... ok test_simple_run (packaging.tests.test_command_clean.cleanTestCase) ... ok test_checks_index_html_presence (packaging.tests.test_command_upload_docs.UploadDocsTestCase) ... ok test_checks_upload_dir (packaging.tests.test_command_upload_docs.UploadDocsTestCase) ... ok test_default_uploaddir (packaging.tests.test_command_upload_docs.UploadDocsTestCase) ... ok test_default_uploaddir_looks_for_doc_also (packaging.tests.test_command_upload_docs.UploadDocsTestCase) ... ok test_handling_response (packaging.tests.test_command_upload_docs.UploadDocsTestCase) ... ok test_https_connection (packaging.tests.test_command_upload_docs.UploadDocsTestCase) ... ok test_reads_pypirc_data (packaging.tests.test_command_upload_docs.UploadDocsTestCase) ... ok test_show_response (packaging.tests.test_command_upload_docs.UploadDocsTestCase) ... ok test_upload (packaging.tests.test_command_upload_docs.UploadDocsTestCase) ... ok test_zip_dir (packaging.tests.test_command_upload_docs.UploadDocsTestCase) ... ok test_simple_run (packaging.tests.test_command_install_headers.InstallHeadersTestCase) ... ok test_runtime_libdir_option (packaging.tests.test_unixccompiler.UnixCCompilerTestCase) ... ok test_build (packaging.tests.test_command_build_scripts.BuildScriptsTestCase) ... ok test_default_settings (packaging.tests.test_command_build_scripts.BuildScriptsTestCase) ... ok test_version_int (packaging.tests.test_command_build_scripts.BuildScriptsTestCase) ... ok test_dump_options (packaging.tests.test_command_cmd.CommandTestCase) ... ok test_ensure_dirname (packaging.tests.test_command_cmd.CommandTestCase) ... ok test_ensure_filename (packaging.tests.test_command_cmd.CommandTestCase) ... ok test_ensure_string (packaging.tests.test_command_cmd.CommandTestCase) ... ok test_ensure_string_list (packaging.tests.test_command_cmd.CommandTestCase) ... ok test_make_file (packaging.tests.test_command_cmd.CommandTestCase) ... ok test_add_defaults (packaging.tests.test_command_sdist.SDistTestCase) ... ok test_finalize_options (packaging.tests.test_command_sdist.SDistTestCase) ... ok test_get_file_list (packaging.tests.test_command_sdist.SDistTestCase) ... ok test_make_distribution (packaging.tests.test_command_sdist.SDistTestCase) ... ok test_make_distribution_owner_group (packaging.tests.test_command_sdist.SDistTestCase) ... ok test_manifest_builder (packaging.tests.test_command_sdist.SDistTestCase) ... ok test_manifest_marker (packaging.tests.test_command_sdist.SDistTestCase) ... ok test_manual_manifest (packaging.tests.test_command_sdist.SDistTestCase) ... ok test_metadata_check_option (packaging.tests.test_command_sdist.SDistTestCase) ... ok test_prune_file_list (packaging.tests.test_command_sdist.SDistTestCase) ... ok test_show_formats (packaging.tests.test_command_sdist.SDistTestCase) ... ok test_template (packaging.tests.test_command_sdist.SDistTestCase) ... ok test_empty_install (packaging.tests.test_command_install_distinfo.InstallDistinfoTestCase) ... ok test_installer (packaging.tests.test_command_install_distinfo.InstallDistinfoTestCase) ... ok test_no_record (packaging.tests.test_command_install_distinfo.InstallDistinfoTestCase) ... ok test_record (packaging.tests.test_command_install_distinfo.InstallDistinfoTestCase) ... ok test_record_basic (packaging.tests.test_command_install_distinfo.InstallDistinfoTestCase) ... ok test_requested (packaging.tests.test_command_install_distinfo.InstallDistinfoTestCase) ... ok test_uninstall (packaging.tests.test_uninstall.UninstallTestCase) ... copying build/lib/foo/sub/foo_utils.py -> /tmp/tmp3c1uwy/tmpa8qz8d/lib/python3.3/site-packages/foo/sub copying build/lib/foo/sub/__init__.py -> /tmp/tmp3c1uwy/tmpa8qz8d/lib/python3.3/site-packages/foo/sub copying build/lib/foo/foo_utils.py -> /tmp/tmp3c1uwy/tmpa8qz8d/lib/python3.3/site-packages/foo copying build/lib/foo/__init__.py -> /tmp/tmp3c1uwy/tmpa8qz8d/lib/python3.3/site-packages/foo ok test_uninstall_error_handling (packaging.tests.test_uninstall.UninstallTestCase) ... copying build/lib/meh/sub/meh_utils.py -> /tmp/tmptrub87/tmpjb4fdz/lib/python3.3/site-packages/meh/sub copying build/lib/meh/sub/__init__.py -> /tmp/tmptrub87/tmpjb4fdz/lib/python3.3/site-packages/meh/sub copying build/lib/meh/meh_utils.py -> /tmp/tmptrub87/tmpjb4fdz/lib/python3.3/site-packages/meh copying build/lib/meh/__init__.py -> /tmp/tmptrub87/tmpjb4fdz/lib/python3.3/site-packages/meh ok test_uninstall_unknown_distribution (packaging.tests.test_uninstall.UninstallTestCase) ... copying build/lib/foospam/foospam_utils.py -> /tmp/tmpju22_m/tmpsadqig/lib/python3.3/site-packages/foospam copying build/lib/foospam/sub/foospam_utils.py -> /tmp/tmpju22_m/tmpsadqig/lib/python3.3/site-packages/foospam/sub copying build/lib/foospam/sub/__init__.py -> /tmp/tmpju22_m/tmpsadqig/lib/python3.3/site-packages/foospam/sub copying build/lib/foospam/__init__.py -> /tmp/tmpju22_m/tmpsadqig/lib/python3.3/site-packages/foospam ok test_build_ext (packaging.tests.test_command_build_ext.BuildExtTestCase) ... ok test_compiler_option (packaging.tests.test_command_build_ext.BuildExtTestCase) ... ok test_deployment_target_default (packaging.tests.test_command_build_ext.BuildExtTestCase) ... skipped 'test only relevant for Mac OS X' test_deployment_target_higher_ok (packaging.tests.test_command_build_ext.BuildExtTestCase) ... skipped 'test only relevant for Mac OS X' test_deployment_target_too_low (packaging.tests.test_command_build_ext.BuildExtTestCase) ... skipped 'test only relevant for Mac OS X' test_ext_fullpath (packaging.tests.test_command_build_ext.BuildExtTestCase) ... ok test_finalize_options (packaging.tests.test_command_build_ext.BuildExtTestCase) ... ok test_get_outputs (packaging.tests.test_command_build_ext.BuildExtTestCase) ... ok test_get_source_files (packaging.tests.test_command_build_ext.BuildExtTestCase) ... ok test_optional_extension (packaging.tests.test_command_build_ext.BuildExtTestCase) ... ok test_solaris_enable_shared (packaging.tests.test_command_build_ext.BuildExtTestCase) ... ok test_user_site (packaging.tests.test_command_build_ext.BuildExtTestCase) ... ok test_byte_compile (packaging.tests.test_command_build_py.BuildPyTestCase) ... ok test_byte_compile_optimized (packaging.tests.test_command_build_py.BuildPyTestCase) ... [66148 refs] ok test_dont_write_bytecode (packaging.tests.test_command_build_py.BuildPyTestCase) ... ok test_empty_package_dir (packaging.tests.test_command_build_py.BuildPyTestCase) ... ok test_package_data (packaging.tests.test_command_build_py.BuildPyTestCase) ... ok test_minimal (packaging.tests.test_command_bdist_msi.BDistMSITestCase) ... skipped 'runs only on win32' test_check_author (packaging.tests.test_metadata.MetadataTestCase) ... ok test_check_homepage (packaging.tests.test_metadata.MetadataTestCase) ... ok test_check_name (packaging.tests.test_metadata.MetadataTestCase) ... ok test_check_name_strict (packaging.tests.test_metadata.MetadataTestCase) ... ok test_check_predicates (packaging.tests.test_metadata.MetadataTestCase) ... ok test_check_version (packaging.tests.test_metadata.MetadataTestCase) ... ok test_check_version_strict (packaging.tests.test_metadata.MetadataTestCase) ... ok test_description (packaging.tests.test_metadata.MetadataTestCase) ... ok test_description_folding (packaging.tests.test_metadata.MetadataTestCase) ... ok test_instantiation (packaging.tests.test_metadata.MetadataTestCase) ... ok test_mapping_api (packaging.tests.test_metadata.MetadataTestCase) ... ok test_metadata_markers (packaging.tests.test_metadata.MetadataTestCase) ... ok test_metadata_read_write (packaging.tests.test_metadata.MetadataTestCase) ... ok test_metadata_versions (packaging.tests.test_metadata.MetadataTestCase) ... ok test_obsoletes_dist (packaging.tests.test_metadata.MetadataTestCase) ... ok test_obsoletes_illegal (packaging.tests.test_metadata.MetadataTestCase) ... skipped 'needs to be implemented' test_project_url (packaging.tests.test_metadata.MetadataTestCase) ... ok test_provides_dist (packaging.tests.test_metadata.MetadataTestCase) ... ok test_provides_illegal (packaging.tests.test_metadata.MetadataTestCase) ... skipped 'needs to be implemented' test_read_metadata (packaging.tests.test_metadata.MetadataTestCase) ... ok test_requires_dist (packaging.tests.test_metadata.MetadataTestCase) ... ok test_requires_illegal (packaging.tests.test_metadata.MetadataTestCase) ... skipped 'needs to be implemented' test_version (packaging.tests.test_metadata.MetadataTestCase) ... ok test_write_metadata (packaging.tests.test_metadata.MetadataTestCase) ... ok test_egginfo_to_distinfo_distutils (packaging.tests.test_util.EggInfoToDistInfoTestCase) ... ok test_egginfo_to_distinfo_setuptools (packaging.tests.test_util.EggInfoToDistInfoTestCase) ... ok test_glob_all (packaging.tests.test_util.GlobTestCase) ... ok test_glob_set_head (packaging.tests.test_util.GlobTestCase) ... ok test_glob_set_middle (packaging.tests.test_util.GlobTestCase) ... ok test_glob_set_tail (packaging.tests.test_util.GlobTestCase) ... ok test_invalid_glob_pattern (packaging.tests.test_util.GlobTestCase) ... ok test_recursive_glob_head (packaging.tests.test_util.GlobTestCase) ... ok test_recursive_glob_middle (packaging.tests.test_util.GlobTestCase) ... ok test_recursive_glob_tail (packaging.tests.test_util.GlobTestCase) ... ok test_regex_rich_glob (packaging.tests.test_util.GlobTestCase) ... ok test_simple_glob (packaging.tests.test_util.GlobTestCase) ... ok test_simple_glob_in_dir (packaging.tests.test_util.GlobTestCase) ... ok test_egg_info_and_non_setuptools_setup_py_is_setuptools_based (packaging.tests.test_util.PackagingLibChecks) ... ok test_egg_info_dir_and_setup_py_is_setuptools_based (packaging.tests.test_util.PackagingLibChecks) ... ok test_empty_package_is_not_based_on_anything (packaging.tests.test_util.PackagingLibChecks) ... ok test_get_install_method_with_distutils_pkg (packaging.tests.test_util.PackagingLibChecks) ... ok test_get_install_method_with_packaging_pkg (packaging.tests.test_util.PackagingLibChecks) ... ok test_get_install_method_with_setuptools_pkg (packaging.tests.test_util.PackagingLibChecks) ... ok test_get_install_method_with_unknown_pkg (packaging.tests.test_util.PackagingLibChecks) ... ok test_is_distutils_logs_pkg_info_file_found (packaging.tests.test_util.PackagingLibChecks) ... ok test_is_distutils_logs_setup_py_text_found (packaging.tests.test_util.PackagingLibChecks) ... ok test_is_distutils_logs_setup_py_text_not_found (packaging.tests.test_util.PackagingLibChecks) ... ok test_is_packaging_logs_setup_cfg_found (packaging.tests.test_util.PackagingLibChecks) ... ok test_is_packaging_logs_setup_cfg_not_found (packaging.tests.test_util.PackagingLibChecks) ... ok test_is_setuptools_logs_egg_info_dir_found (packaging.tests.test_util.PackagingLibChecks) ... ok test_is_setuptools_logs_setup_py_text_found (packaging.tests.test_util.PackagingLibChecks) ... ok test_is_setuptools_logs_setup_py_text_not_found (packaging.tests.test_util.PackagingLibChecks) ... ok test_pkg_info_and_non_distutils_setup_py_is_distutils_based (packaging.tests.test_util.PackagingLibChecks) ... ok test_pkg_info_file_and_setup_py_is_distutils_based (packaging.tests.test_util.PackagingLibChecks) ... ok test_setup_cfg_and_invalid_setup_cfg_is_not_packaging_based (packaging.tests.test_util.PackagingLibChecks) ... ok test_setup_cfg_with_no_metadata_section_is_not_packaging_based (packaging.tests.test_util.PackagingLibChecks) ... ok test_setup_cfg_with_valid_metadata_section_is_packaging_based (packaging.tests.test_util.PackagingLibChecks) ... ok test_setup_py_importing_distutils_is_distutils_based (packaging.tests.test_util.PackagingLibChecks) ... ok test_setup_py_importing_setuptools_is_setuptools_based (packaging.tests.test_util.PackagingLibChecks) ... ok test_setup_py_not_importing_distutils_is_not_distutils_based (packaging.tests.test_util.PackagingLibChecks) ... ok test_setup_py_not_importing_setuptools_is_not_setuptools_based (packaging.tests.test_util.PackagingLibChecks) ... ok test_cfg_to_args (packaging.tests.test_util.UtilTestCase) ... ok test_change_root (packaging.tests.test_util.UtilTestCase) ... ok test_convert_path (packaging.tests.test_util.UtilTestCase) ... ok test_dont_write_bytecode (packaging.tests.test_util.UtilTestCase) ... ok test_encode_multipart (packaging.tests.test_util.UtilTestCase) ... ok test_find_exe_version (packaging.tests.test_util.UtilTestCase) ... ok test_find_packages (packaging.tests.test_util.UtilTestCase) ... ok test_get_compiler_versions (packaging.tests.test_util.UtilTestCase) ... ok test_newer (packaging.tests.test_util.UtilTestCase) ... ok test_resolve_name (packaging.tests.test_util.UtilTestCase) ... ok test_run_2to3_on_code (packaging.tests.test_util.UtilTestCase) ... ok test_run_2to3_on_doctests (packaging.tests.test_util.UtilTestCase) ... ok test_server_empty_registration (packaging.tests.test_util.UtilTestCase) ... ok test_server_registration (packaging.tests.test_util.UtilTestCase) ... ok test_spawn (packaging.tests.test_util.UtilTestCase) ... ok test_split_quoted (packaging.tests.test_util.UtilTestCase) ... ok test_strtobool (packaging.tests.test_util.UtilTestCase) ... ok test_get_exe_bytes (packaging.tests.test_command_bdist_wininst.BuildWinInstTestCase) ... ok test_config (packaging.tests.test_config.ConfigTestCase) ... ok test_metadata_requires_description_files (packaging.tests.test_config.ConfigTestCase) ... ok test_metadata_requires_description_files_missing (packaging.tests.test_config.ConfigTestCase) ... ok test_missing_setup_hook_warns (packaging.tests.test_config.ConfigTestCase) ... ok test_multiline_description_file (packaging.tests.test_config.ConfigTestCase) ... ok test_multiple_description_file (packaging.tests.test_config.ConfigTestCase) ... ok test_multiple_setup_hooks (packaging.tests.test_config.ConfigTestCase) ... ok test_parse_extensions_in_config (packaging.tests.test_config.ConfigTestCase) ... ok test_project_setup_hook_works (packaging.tests.test_config.ConfigTestCase) ... ok test_sub_commands (packaging.tests.test_config.ConfigTestCase) ... ok test_formats (packaging.tests.test_command_bdist.BuildTestCase) ... ok test_show_formats (packaging.tests.test_command_bdist.BuildTestCase) ... ok test_skip_build (packaging.tests.test_command_bdist.BuildTestCase) ... ok test_check_all (packaging.tests.test_command_check.CheckTestCase) ... ok test_check_hooks (packaging.tests.test_command_check.CheckTestCase) ... ok test_check_metadata (packaging.tests.test_command_check.CheckTestCase) ... ok test_check_metadata_1_2 (packaging.tests.test_command_check.CheckTestCase) ... ok test_check_restructuredtext (packaging.tests.test_command_check.CheckTestCase) ... skipped 'requires docutils' test_warn (packaging.tests.test_command_check.CheckTestCase) ... ok test_check_config_h (packaging.tests.test_cygwinccompiler.CygwinCCompilerTestCase) ... ok test_get_msvcr (packaging.tests.test_cygwinccompiler.CygwinCCompilerTestCase) ... ok test_comparison (packaging.tests.test_pypi_dist.TestDistInfo) ... ok test_download (packaging.tests.test_pypi_dist.TestDistInfo) ... ok test_get_url (packaging.tests.test_pypi_dist.TestDistInfo) ... ok test_hashname (packaging.tests.test_pypi_dist.TestDistInfo) ... ok test_unpack (packaging.tests.test_pypi_dist.TestDistInfo) ... ok test_add_dist (packaging.tests.test_pypi_dist.TestReleaseInfo) ... ok test_get_infos_from_url (packaging.tests.test_pypi_dist.TestReleaseInfo) ... ok test_get_unknown_distribution (packaging.tests.test_pypi_dist.TestReleaseInfo) ... ok test_instantiation (packaging.tests.test_pypi_dist.TestReleaseInfo) ... ok test_split_archive_name (packaging.tests.test_pypi_dist.TestReleaseInfo) ... ok test_append (packaging.tests.test_pypi_dist.TestReleasesList) ... ok test_filter (packaging.tests.test_pypi_dist.TestReleasesList) ... ok test_get_last (packaging.tests.test_pypi_dist.TestReleasesList) ... ok test_prefer_final (packaging.tests.test_pypi_dist.TestReleasesList) ... ok test_prefer_source (packaging.tests.test_pypi_dist.TestReleasesList) ... skipped 'method not implemented yet' test_additional_fixers (packaging.tests.test_mixin2to3.Mixin2to3TestCase) ... ok test_convert_code_only (packaging.tests.test_mixin2to3.Mixin2to3TestCase) ... ok test_doctests_only (packaging.tests.test_mixin2to3.Mixin2to3TestCase) ... ok test_finalize_options (packaging.tests.test_command_upload.UploadTestCase) ... ok test_finalize_options_unsigned_identity_raises_exception (packaging.tests.test_command_upload.UploadTestCase) ... ok test_saved_password (packaging.tests.test_command_upload.UploadTestCase) ... ok test_upload (packaging.tests.test_command_upload.UploadTestCase) ... ok test_upload_docs (packaging.tests.test_command_upload.UploadTestCase) ... ok test_upload_without_files_raises_exception (packaging.tests.test_command_upload.UploadTestCase) ... ok test_install (packaging.tests.test_run.RunTestCase) ... ok test_show_help (packaging.tests.test_run.RunTestCase) ... ok test_default_settings (packaging.tests.test_command_install_scripts.InstallScriptsTestCase) ... ok test_installation (packaging.tests.test_command_install_scripts.InstallScriptsTestCase) ... copying /tmp/tmpdv5b72/tmp0931ld/script2.py -> /tmp/tmpdv5b72/tmpss1_4s copying /tmp/tmpdv5b72/tmp0931ld/shell.sh -> /tmp/tmpdv5b72/tmpss1_4s copying /tmp/tmpdv5b72/tmp0931ld/script1.py -> /tmp/tmpdv5b72/tmpss1_4s ok test_get_distributions (packaging.tests.test_pypi_xmlrpc.TestXMLRPCClient) ... ok test_get_metadata (packaging.tests.test_pypi_xmlrpc.TestXMLRPCClient) ... ok test_get_releases (packaging.tests.test_pypi_xmlrpc.TestXMLRPCClient) ... ok test_search_projects (packaging.tests.test_pypi_xmlrpc.TestXMLRPCClient) ... ok test_search_projects_bad_fields (packaging.tests.test_pypi_xmlrpc.TestXMLRPCClient) ... ok test_records_requests (packaging.tests.test_pypi_server.PyPIServerTest) ... ok test_serve_static_content (packaging.tests.test_pypi_server.PyPIServerTest) ... ok test_default_actions (packaging.tests.test_manifest.ManifestTestCase) ... ok test_exclude_pattern (packaging.tests.test_manifest.ManifestTestCase) ... ok test_glob_to_re (packaging.tests.test_manifest.ManifestTestCase) ... ok test_include_pattern (packaging.tests.test_manifest.ManifestTestCase) ... ok test_manifest_reader (packaging.tests.test_manifest.ManifestTestCase) ... ok test_process_template (packaging.tests.test_manifest.ManifestTestCase) ... ok test_remove_duplicates (packaging.tests.test_manifest.ManifestTestCase) ... ok test_translate_pattern (packaging.tests.test_manifest.ManifestTestCase) ... ok test_create_pypirc (packaging.tests.test_command_register.RegisterTestCase) ... ok test_password_not_in_file (packaging.tests.test_command_register.RegisterTestCase) ... ok test_password_reset (packaging.tests.test_command_register.RegisterTestCase) ... ok test_register_pep345 (packaging.tests.test_command_register.RegisterTestCase) ... ok test_registration (packaging.tests.test_command_register.RegisterTestCase) ... ok test_strict (packaging.tests.test_command_register.RegisterTestCase) ... skipped 'needs docutils' test_finalize_options (packaging.tests.test_command_build.BuildTestCase) ... ok test_build_libraries (packaging.tests.test_command_build_clib.BuildCLibTestCase) ... ok test_check_library_dist (packaging.tests.test_command_build_clib.BuildCLibTestCase) ... ok test_finalize_options (packaging.tests.test_command_build_clib.BuildCLibTestCase) ... ok test_get_source_files (packaging.tests.test_command_build_clib.BuildCLibTestCase) ... ok test_run (packaging.tests.test_command_build_clib.BuildCLibTestCase) ... ok test_interpret (packaging.tests.test_markers.MarkersTestCase) ... ok test_byte_compile (packaging.tests.test_command_install_lib.InstallLibTestCase) ... [66148 refs] ok test_dont_write_bytecode (packaging.tests.test_command_install_lib.InstallLibTestCase) ... ok test_finalize_options (packaging.tests.test_command_install_lib.InstallLibTestCase) ... ok test_get_inputs (packaging.tests.test_command_install_lib.InstallLibTestCase) ... ok test_get_outputs (packaging.tests.test_command_install_lib.InstallLibTestCase) ... ok ====================================================================== ERROR: test_resources (packaging.tests.test_command_install_data.InstallDataTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/westley/Projects/cpython/Lib/packaging/tests/test_command_install_data.py", line 134, in test_resources with packaging.database.get_file('Spamlib', 'spamd') as fp: File "/home/westley/Projects/cpython/Lib/packaging/database.py", line 649, in get_file return open(get_file_path(distribution_name, relative_path), File "/home/westley/Projects/cpython/Lib/packaging/database.py", line 644, in get_file_path raise LookupError('no distribution named %r found' % distribution_name) LookupError: no distribution named 'Spamlib' found ---------------------------------------------------------------------- Ran 340 tests in 44.251s FAILED (errors=1, skipped=16) Warning -- threading._dangling was modified by test_packaging Warning -- sysconfig._SCHEMES was modified by test_packaging test test_packaging failed