1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00
pip/tests/unit
Tzu-ping Chung 42359a9605 Migrate tests to use pathlib.Path
The pip-specific Path implementation has been removed, and all its
usages replaced by pathlib.Path. The tmpdir and tmpdir_factory fixtures
are also removed, and all usages are replaced by tmp_path and
tmp_path_factory, which use pathlib.Path.

The pip() function now also accepts pathlib.Path so we don't need to put
str() everywhere. Path arguments are coerced with os.fspath() into str.
2022-06-08 19:58:46 +08:00
..
metadata Merge DictMetadata tests into metadata tests 2021-12-04 17:57:34 +08:00
resolution_resolvelib Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00
__init__.py break up tests dir into data, unit tests, and functional tests 2013-05-29 13:41:12 -07:00
test_appdirs.py Work around platformdirs.windows 2021-11-22 17:51:07 +08:00
test_base_command.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00
test_cache.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00
test_cmdoptions.py Complete type annotations of tests/unit/ directory 2021-09-23 05:44:54 -07:00
test_collector.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00
test_command_install.py Complete type annotations of tests/unit/ directory 2021-09-23 05:44:54 -07:00
test_commands.py Complete type annotations of tests/unit/ directory 2021-09-23 05:44:54 -07:00
test_compat.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00
test_configuration.py provide a better error message for "pip config get index-url" 2022-04-29 22:51:16 -05:00
test_direct_url.py Complete type annotations of tests/unit/ directory 2021-09-23 05:44:54 -07:00
test_direct_url_helpers.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00
test_exceptions.py Properly handle newlines in diagnostic error tests 2021-12-12 13:11:36 +00:00
test_finder.py More structured link evaluation result 2022-03-10 20:41:26 +08:00
test_format_control.py Complete type annotations of tests/unit/ directory 2021-09-23 05:44:54 -07:00
test_index.py More structured link evaluation result 2022-03-10 20:41:26 +08:00
test_link.py Complete type annotations of tests/unit/ directory 2021-09-23 05:44:54 -07:00
test_locations.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00
test_logging.py Enable the use of rich for presenting output 2021-12-12 13:11:36 +00:00
test_models.py Complete type annotations of tests/unit/ directory 2021-09-23 05:44:54 -07:00
test_models_wheel.py Remove stale xfail on macOS tag generation 2021-09-30 15:30:42 +08:00
test_network_auth.py Complete type annotations of tests/unit/ directory 2021-09-23 05:44:54 -07:00
test_network_cache.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00
test_network_download.py Complete type annotations of tests/unit/ directory 2021-09-23 05:44:54 -07:00
test_network_lazy_wheel.py make linters happy 2021-10-23 17:42:22 +02:00
test_network_session.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00
test_network_utils.py Complete type annotations of tests/unit/ directory 2021-09-23 05:44:54 -07:00
test_operations_prepare.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00
test_options.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00
test_packaging.py Apply suggestions from code review 2021-10-08 07:27:38 -04:00
test_pep517.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00
test_pyproject_config.py Rename test file pep517 -> pyproject 2022-04-23 14:45:59 +01:00
test_req.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00
test_req_file.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00
test_req_install.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00
test_req_uninstall.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00
test_resolution_legacy_resolver.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00
test_search_scope.py Complete type annotations of tests/unit/ directory 2021-09-23 05:44:54 -07:00
test_self_check_outdated.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00
test_target_python.py Complete type annotations of tests/unit/ directory 2021-09-23 05:44:54 -07:00
test_urls.py Complete type annotations of tests/unit/ directory 2021-09-23 05:44:54 -07:00
test_utils.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00
test_utils_compatibility_tags.py Complete type annotations of tests/unit/ directory 2021-09-23 05:44:54 -07:00
test_utils_distutils_args.py Complete type annotations of tests/unit/ directory 2021-09-23 05:44:54 -07:00
test_utils_filesystem.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00
test_utils_subprocess.py Rename [present-diagnostic] to [present-rich] 2022-04-22 16:36:29 +01:00
test_utils_temp_dir.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00
test_utils_unpacking.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00
test_utils_virtualenv.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00
test_utils_wheel.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00
test_vcs.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00
test_vcs_mercurial.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00
test_wheel.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00
test_wheel_builder.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00