-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
22.2.2: test suite i sfailing #11427
Comments
pytest + PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-pip-22.2.2-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-pip-22.2.2-2.fc35.x86_64/usr/lib/python3.8/site-packages
+ /usr/bin/pytest -ra -m 'not network' --deselect tests/functional
Test session starts (platform: linux, Python 3.8.13, pytest 7.1.2, pytest-sugar 0.9.4)
Using --randomly-seed=929576073
rootdir: /home/tkloczko/rpmbuild/BUILD/pip-22.2.2, configfile: setup.cfg
plugins: freezegun-0.4.2, timeout-2.1.0, randomly-3.12.0, mock-3.8.2, flaky-3.7.0, hypothesis-6.41.0, sugar-0.9.4, cov-3.0.0
collecting ...
tests/unit/test_logging.py ✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓ 1% ▏
tests/lib/test_wheel.py ✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓ 2% ▎
tests/unit/resolution_resolvelib/test_resolver.py ✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓ 3% ▍
tests/unit/test_req_file.py ✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓ 7% ▊
tests/unit/metadata/test_metadata.py ✓✓✓✓✓✓✓✓✓ 8% ▊
tests/unit/test_network_cache.py ✓✓✓✓✓ 8% ▊
tests/unit/test_wheel_builder.py ✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓ 11% █▏
tests/unit/test_format_control.py ✓✓✓✓✓✓✓✓✓ 11% █▎
tests/unit/test_search_scope.py ✓✓ 11% █▎
tests/unit/test_network_utils.py ✓✓✓ 12% █▎
tests/unit/test_network_session.py ✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓ 14% █▍
tests/unit/test_exceptions.py ✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓ 16% █▋
tests/unit/test_network_lazy_wheel.py ✓ 16% █▋
tests/unit/test_cache.py ✓✓✓✓✓ 16% █▋
tests/unit/test_packaging.py ✓✓✓✓✓ 16% █▋
tests/unit/test_self_check_outdated.py ✓✓✓✓✓✓✓✓✓✓✓✓ 17% █▊
tests/unit/test_locations.py ✓✓✓✓✓✓✓✓✓✓✓ 18% █▊
tests/unit/test_utils_subprocess.py ✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓ 19% █▉
tests/unit/metadata/test_metadata_pkg_resources.py ✓✓✓✓✓✓✓✓✓ 20% ██
tests/unit/test_command_install.py ✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓ 21% ██▏
tests/unit/test_utils_compatibility_tags.py ✓✓✓✓✓✓✓✓✓✓✓ 21% ██▎
tests/unit/test_models.py ✓✓✓✓✓ 22% ██▎
tests/unit/test_utils_temp_dir.py ✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓ 24% ██▌
tests/unit/resolution_resolvelib/test_provider.py ✓ 24% ██▌
tests/unit/test_direct_url.py ✓✓✓✓✓✓✓ 25% ██▌
tests/unit/test_network_download.py ✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓ 26% ██▋
tests/unit/test_utils_wheel.py ✓✓✓✓✓✓✓✓✓✓✓✓ 27% ██▊
tests/unit/test_pyproject_config.py ✓✓✓✓✓✓✓ 27% ██▊
tests/unit/test_utils_distutils_args.py ✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓ 28% ██▉
tests/unit/test_req_uninstall.py ✓✓✓✓✓✓✓✓✓✓✓✓✓ 29% ██▉
tests/unit/test_operations_prepare.py ✓✓✓✓ 30% ██▉
tests/unit/test_pep517.py ✓✓✓✓✓✓✓✓ 30% ███
tests/unit/test_cmdoptions.py ✓✓✓✓✓✓✓✓✓✓✓ 31% ███▏
tests/unit/test_utils.py ✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓ 40% ████
✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓ 41% ████▎
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― test_log_file_command_error ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
fixed_time = None, tmpdir = PosixPath('/tmp/pytest-of-tkloczko/pytest-14/test_log_file_command_error0')
def test_log_file_command_error(fixed_time: None, tmpdir: Path) -> None:
"""Test the --log-file option logs (when there's an error)."""
cmd = FakeCommand(error=True)
log_file_path = os.path.join(tmpdir, "log_file")
cmd.main(["fake", "--log-file", log_file_path])
with open(log_file_path) as f:
> assert f.read().startswith("2019-01-17T06:00:37,040 fake")
E assert False
E + where False = <built-in method startswith of str object at 0x55dc453e4f50>('2019-01-17T06:00:37,040 fake')
E + where <built-in method startswith of str object at 0x55dc453e4f50> = '2019-01-17T06:00:37,040 WARNING: --use-feature=2020-resolver no longer has any effect, since it is now the default de...nd.py", line 34, in run_func\n2019-01-17T06:00:37,040 raise SystemExit(1)\n2019-01-17T06:00:37,040 SystemExit: 1\n'.startswith
E + where '2019-01-17T06:00:37,040 WARNING: --use-feature=2020-resolver no longer has any effect, since it is now the default de...nd.py", line 34, in run_func\n2019-01-17T06:00:37,040 raise SystemExit(1)\n2019-01-17T06:00:37,040 SystemExit: 1\n' = <built-in method read of _io.TextIOWrapper object at 0x7f367044a860>()
E + where <built-in method read of _io.TextIOWrapper object at 0x7f367044a860> = <_io.TextIOWrapper name='/tmp/pytest-of-tkloczko/pytest-14/test_log_file_command_error0/log_file' mode='r' encoding='UTF-8'>.read
tests/unit/test_base_command.py:131: AssertionError
--------------------------------------------------------------------------- Captured stdout call ---------------------------------------------------------------------------
fake
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
WARNING: --use-feature=2020-resolver no longer has any effect, since it is now the default dependency resolver in pip. This will become an error in pip 21.0.
ERROR: Exception:
Traceback (most recent call last):
File "/home/tkloczko/rpmbuild/BUILDROOT/python-pip-22.2.2-2.fc35.x86_64/usr/lib/python3.8/site-packages/pip/_internal/cli/base_command.py", line 167, in exc_logging_wrapper
status = run_func(*args)
File "/home/tkloczko/rpmbuild/BUILD/pip-22.2.2/tests/unit/test_base_command.py", line 47, in run
return self.run_func()
File "/home/tkloczko/rpmbuild/BUILD/pip-22.2.2/tests/unit/test_base_command.py", line 34, in run_func
raise SystemExit(1)
SystemExit: 1
tests/unit/test_base_command.py ⨯ 41% ████▎
――――――――――――――――――――――――――――――――――――――――――――――――――――――――― test_base_command_global_tempdir_cleanup[deleted-False] ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
kind = 'deleted', exists = False
@pytest.mark.parametrize("kind,exists", [(not_deleted, True), ("deleted", False)])
@pytest.mark.no_auto_tempdir_manager
def test_base_command_global_tempdir_cleanup(kind: str, exists: bool) -> None:
> assert temp_dir._tempdir_manager is None
E assert <contextlib.ExitStack object at 0x7f3670195b20> is None
E + where <contextlib.ExitStack object at 0x7f3670195b20> = temp_dir._tempdir_manager
tests/unit/test_base_command.py:166: AssertionError
tests/unit/test_base_command.py ⨯✓ 41% ████▎
―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― test_base_command_provides_tempdir_helpers ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
@pytest.mark.no_auto_tempdir_manager
def test_base_command_provides_tempdir_helpers() -> None:
> assert temp_dir._tempdir_manager is None
E assert <contextlib.ExitStack object at 0x7f3670195b20> is None
E + where <contextlib.ExitStack object at 0x7f3670195b20> = temp_dir._tempdir_manager
tests/unit/test_base_command.py:145: AssertionError
tests/unit/test_base_command.py ⨯ 42% ████▎
―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― test_base_command_local_tempdir_cleanup[deleted-False] ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
kind = 'deleted', exists = False
@pytest.mark.parametrize("kind,exists", [(not_deleted, True), ("deleted", False)])
@pytest.mark.no_auto_tempdir_manager
def test_base_command_local_tempdir_cleanup(kind: str, exists: bool) -> None:
> assert temp_dir._tempdir_manager is None
E assert <contextlib.ExitStack object at 0x7f3670195b20> is None
E + where <contextlib.ExitStack object at 0x7f3670195b20> = temp_dir._tempdir_manager
tests/unit/test_base_command.py:189: AssertionError
tests/unit/test_base_command.py ⨯✓ 42% ████▎
―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― test_log_command_error ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
fixed_time = None, tmpdir = PosixPath('/tmp/pytest-of-tkloczko/pytest-14/test_log_command_error0')
def test_log_command_error(fixed_time: None, tmpdir: Path) -> None:
"""Test the --log option logs when command fails."""
cmd = FakeCommand(error=True)
log_path = os.path.join(tmpdir, "log")
cmd.main(["fake", "--log", log_path])
with open(log_path) as f:
> assert f.read().startswith("2019-01-17T06:00:37,040 fake")
E assert False
E + where False = <built-in method startswith of str object at 0x55dc45779060>('2019-01-17T06:00:37,040 fake')
E + where <built-in method startswith of str object at 0x55dc45779060> = '2019-01-17T06:00:37,040 WARNING: --use-feature=2020-resolver no longer has any effect, since it is now the default de...nd.py", line 34, in run_func\n2019-01-17T06:00:37,040 raise SystemExit(1)\n2019-01-17T06:00:37,040 SystemExit: 1\n'.startswith
E + where '2019-01-17T06:00:37,040 WARNING: --use-feature=2020-resolver no longer has any effect, since it is now the default de...nd.py", line 34, in run_func\n2019-01-17T06:00:37,040 raise SystemExit(1)\n2019-01-17T06:00:37,040 SystemExit: 1\n' = <built-in method read of _io.TextIOWrapper object at 0x7f366bde5ba0>()
E + where <built-in method read of _io.TextIOWrapper object at 0x7f366bde5ba0> = <_io.TextIOWrapper name='/tmp/pytest-of-tkloczko/pytest-14/test_log_command_error0/log' mode='r' encoding='UTF-8'>.read
tests/unit/test_base_command.py:122: AssertionError
--------------------------------------------------------------------------- Captured stdout call ---------------------------------------------------------------------------
fake
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
WARNING: --use-feature=2020-resolver no longer has any effect, since it is now the default dependency resolver in pip. This will become an error in pip 21.0.
ERROR: Exception:
Traceback (most recent call last):
File "/home/tkloczko/rpmbuild/BUILDROOT/python-pip-22.2.2-2.fc35.x86_64/usr/lib/python3.8/site-packages/pip/_internal/cli/base_command.py", line 167, in exc_logging_wrapper
status = run_func(*args)
File "/home/tkloczko/rpmbuild/BUILD/pip-22.2.2/tests/unit/test_base_command.py", line 47, in run
return self.run_func()
File "/home/tkloczko/rpmbuild/BUILD/pip-22.2.2/tests/unit/test_base_command.py", line 34, in run_func
raise SystemExit(1)
SystemExit: 1
---------------------------------------------------------------------------- Captured log call -----------------------------------------------------------------------------
VERBOSE pip._internal.configuration:_log.py:23 For variant 'global', will try loading '/tmp/pytest-of-tkloczko/pytest-14/test_log_command_error0/fake-root/etc/xdg/pip/pip.conf'
VERBOSE pip._internal.configuration:_log.py:23 For variant 'global', will try loading '/etc/pip.conf'
VERBOSE pip._internal.configuration:_log.py:23 For variant 'user', will try loading '/tmp/pytest-of-tkloczko/pytest-14/test_log_command_error0/home/.pip/pip.conf'
VERBOSE pip._internal.configuration:_log.py:23 For variant 'user', will try loading '/tmp/pytest-of-tkloczko/pytest-14/test_log_command_error0/home/.config/pip/pip.conf'
VERBOSE pip._internal.configuration:_log.py:23 For variant 'site', will try loading '/usr/pip.conf'
DEBUG pip._internal.cli.parser:parser.py:191 Ignoring configuration key ':env:.use-feature' as it's value is empty.
DEBUG pip._internal.cli.parser:parser.py:191 Ignoring configuration key ':env:.use-deprecated' as it's value is empty.
tests/unit/test_base_command.py ⨯ 42% ████▎
―――――――――――――――――――――――――――――――――――――――――――――――――――――――― test_base_command_local_tempdir_cleanup[not_deleted-True] ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――
kind = 'not_deleted', exists = True
@pytest.mark.parametrize("kind,exists", [(not_deleted, True), ("deleted", False)])
@pytest.mark.no_auto_tempdir_manager
def test_base_command_local_tempdir_cleanup(kind: str, exists: bool) -> None:
> assert temp_dir._tempdir_manager is None
E assert <contextlib.ExitStack object at 0x7f3670195b20> is None
E + where <contextlib.ExitStack object at 0x7f3670195b20> = temp_dir._tempdir_manager
tests/unit/test_base_command.py:189: AssertionError
tests/unit/test_base_command.py ⨯ 42% ████▎
―――――――――――――――――――――――――――――――――――――――――――――――――――――――― test_base_command_global_tempdir_cleanup[not_deleted-True] ――――――――――――――――――――――――――――――――――――――――――――――――――――――――
kind = 'not_deleted', exists = True
@pytest.mark.parametrize("kind,exists", [(not_deleted, True), ("deleted", False)])
@pytest.mark.no_auto_tempdir_manager
def test_base_command_global_tempdir_cleanup(kind: str, exists: bool) -> None:
> assert temp_dir._tempdir_manager is None
E assert <contextlib.ExitStack object at 0x7f3670195b20> is None
E + where <contextlib.ExitStack object at 0x7f3670195b20> = temp_dir._tempdir_manager
tests/unit/test_base_command.py:166: AssertionError
tests/unit/test_base_command.py ⨯ 42% ████▎
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― test_log_command_success ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
fixed_time = None, tmpdir = PosixPath('/tmp/pytest-of-tkloczko/pytest-14/test_log_command_success0')
def test_log_command_success(fixed_time: None, tmpdir: Path) -> None:
"""Test the --log option logs when command succeeds."""
cmd = FakeCommand()
log_path = os.path.join(tmpdir, "log")
cmd.main(["fake", "--log", log_path])
with open(log_path) as f:
> assert f.read().rstrip() == "2019-01-17T06:00:37,040 fake"
E AssertionError: assert '2019-01-17T0...0:37,040 fake' == '2019-01-17T06:00:37,040 fake'
E + 2019-01-17T06:00:37,040 WARNING: --use-feature=2020-resolver no longer has any effect, since it is now the default dependency resolver in pip. This will become an error in pip 21.0.
E 2019-01-17T06:00:37,040 fake
tests/unit/test_base_command.py:113: AssertionError
--------------------------------------------------------------------------- Captured stdout call ---------------------------------------------------------------------------
fake
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
WARNING: --use-feature=2020-resolver no longer has any effect, since it is now the default dependency resolver in pip. This will become an error in pip 21.0.
---------------------------------------------------------------------------- Captured log call -----------------------------------------------------------------------------
VERBOSE pip._internal.configuration:_log.py:23 For variant 'global', will try loading '/tmp/pytest-of-tkloczko/pytest-14/test_log_command_success0/fake-root/etc/xdg/pip/pip.conf'
VERBOSE pip._internal.configuration:_log.py:23 For variant 'global', will try loading '/etc/pip.conf'
VERBOSE pip._internal.configuration:_log.py:23 For variant 'user', will try loading '/tmp/pytest-of-tkloczko/pytest-14/test_log_command_success0/home/.pip/pip.conf'
VERBOSE pip._internal.configuration:_log.py:23 For variant 'user', will try loading '/tmp/pytest-of-tkloczko/pytest-14/test_log_command_success0/home/.config/pip/pip.conf'
VERBOSE pip._internal.configuration:_log.py:23 For variant 'site', will try loading '/usr/pip.conf'
DEBUG pip._internal.cli.parser:parser.py:191 Ignoring configuration key ':env:.use-feature' as it's value is empty.
DEBUG pip._internal.cli.parser:parser.py:191 Ignoring configuration key ':env:.use-deprecated' as it's value is empty.
tests/unit/test_base_command.py ⨯ 42% ████▎
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― TestCommand.test_raise_broken_stdout ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
self = <tests.unit.test_base_command.TestCommand object at 0x7f3672013d60>, capsys = <_pytest.capture.CaptureFixture object at 0x7f366bd0bdc0>
def test_raise_broken_stdout(self, capsys: pytest.CaptureFixture[str]) -> None:
"""
Test raising BrokenStdoutLoggingError.
"""
stderr = self.call_main(capsys, [])
> assert stderr.rstrip() == "ERROR: Pipe to stdout was broken"
E AssertionError: assert 'WARNING: --u...ut was broken' == 'ERROR: Pipe ...ut was broken'
E + WARNING: --use-feature=2020-resolver no longer has any effect, since it is now the default dependency resolver in pip. This will become an error in pip 21.0.
E ERROR: Pipe to stdout was broken
tests/unit/test_base_command.py:83: AssertionError
---------------------------------------------------------------------------- Captured log call -----------------------------------------------------------------------------
VERBOSE pip._internal.configuration:_log.py:23 For variant 'global', will try loading '/tmp/pytest-of-tkloczko/pytest-14/test_raise_broken_stdout0/fake-root/etc/xdg/pip/pip.conf'
VERBOSE pip._internal.configuration:_log.py:23 For variant 'global', will try loading '/etc/pip.conf'
VERBOSE pip._internal.configuration:_log.py:23 For variant 'user', will try loading '/tmp/pytest-of-tkloczko/pytest-14/test_raise_broken_stdout0/home/.pip/pip.conf'
VERBOSE pip._internal.configuration:_log.py:23 For variant 'user', will try loading '/tmp/pytest-of-tkloczko/pytest-14/test_raise_broken_stdout0/home/.config/pip/pip.conf'
VERBOSE pip._internal.configuration:_log.py:23 For variant 'site', will try loading '/usr/pip.conf'
DEBUG pip._internal.cli.parser:parser.py:191 Ignoring configuration key ':env:.use-feature' as it's value is empty.
DEBUG pip._internal.cli.parser:parser.py:191 Ignoring configuration key ':env:.use-deprecated' as it's value is empty.
tests/unit/test_base_command.py ⨯✓ 42% ████▎
tests/unit/test_utils_unpacking.py ✓✓✓✓✓✓✓✓✓✓✓✓ 43% ████▍
tests/unit/test_direct_url_helpers.py ✓✓✓✓✓✓✓✓✓✓ 44% ████▍
tests/unit/test_wheel.py ✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓xx✓✓✓✓x✓x✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓ 47% ████▊
tests/unit/test_compat.py ✓✓✓✓ 47% ████▊
tests/unit/test_req.py ✓✓s✓✓✓✓✓✓✓s✓✓✓✓✓✓✓s✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓ 51% █████▎
tests/unit/test_urls.py ✓s✓✓✓s✓✓✓✓✓✓✓✓✓ 52% █████▎
tests/unit/test_resolution_legacy_resolver.py ✓✓✓✓✓✓✓✓✓✓✓✓✓✓ 53% █████▍
tests/unit/test_req_install.py ✓✓✓✓✓ 54% █████▍
tests/unit/test_configuration.py ✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓ 55% █████▌
tests/unit/test_target_python.py ✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓ 57% █████▋
tests/unit/test_options.py ✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓ 65% ██████▌
tests/unit/test_index.py ✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓ 71% ███████▎
tests/unit/test_finder.py ✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓ 73% ███████▍
tests/unit/resolution_resolvelib/test_requirement.py ✓✓✓✓ 74% ███████▍
tests/unit/test_utils_virtualenv.py ✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓ 75% ███████▌
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― ERROR at setup of test_tmp_dir_exists_in_env ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
tmpdir_factory = TempPathFactory(_given_basetemp=None, _trace=<pluggy._tracing.TagTracerSub object at 0x7f37f80ea820>, _basetemp=PosixPath('/tmp/pytest-of-tkloczko/pytest-14'))
common_wheels = PosixPath('/home/tkloczko/rpmbuild/BUILD/pip-22.2.2/tests/data/common_wheels')
@pytest.fixture(scope="session")
def coverage_install(
tmpdir_factory: pytest.TempPathFactory, common_wheels: Path
) -> Path:
> return _common_wheel_editable_install(tmpdir_factory, common_wheels, "coverage")
tests/conftest.py:410:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tmpdir_factory = TempPathFactory(_given_basetemp=None, _trace=<pluggy._tracing.TagTracerSub object at 0x7f37f80ea820>, _basetemp=PosixPath('/tmp/pytest-of-tkloczko/pytest-14'))
common_wheels = PosixPath('/home/tkloczko/rpmbuild/BUILD/pip-22.2.2/tests/data/common_wheels'), package = 'coverage'
def _common_wheel_editable_install(
tmpdir_factory: pytest.TempPathFactory, common_wheels: Path, package: str
) -> Path:
wheel_candidates = list(common_wheels.glob(f"{package}-*.whl"))
> assert len(wheel_candidates) == 1, wheel_candidates
E AssertionError: []
E assert 0 == 1
E + where 0 = len([])
tests/conftest.py:367: AssertionError
75% ███████▌
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― ERROR at setup of test_as_import ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
tmpdir_factory = TempPathFactory(_given_basetemp=None, _trace=<pluggy._tracing.TagTracerSub object at 0x7f37f80ea820>, _basetemp=PosixPath('/tmp/pytest-of-tkloczko/pytest-14'))
common_wheels = PosixPath('/home/tkloczko/rpmbuild/BUILD/pip-22.2.2/tests/data/common_wheels')
@pytest.fixture(scope="session")
def coverage_install(
tmpdir_factory: pytest.TempPathFactory, common_wheels: Path
) -> Path:
> return _common_wheel_editable_install(tmpdir_factory, common_wheels, "coverage")
tests/conftest.py:410:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tmpdir_factory = TempPathFactory(_given_basetemp=None, _trace=<pluggy._tracing.TagTracerSub object at 0x7f37f80ea820>, _basetemp=PosixPath('/tmp/pytest-of-tkloczko/pytest-14'))
common_wheels = PosixPath('/home/tkloczko/rpmbuild/BUILD/pip-22.2.2/tests/data/common_wheels'), package = 'coverage'
def _common_wheel_editable_install(
tmpdir_factory: pytest.TempPathFactory, common_wheels: Path, package: str
) -> Path:
wheel_candidates = list(common_wheels.glob(f"{package}-*.whl"))
> assert len(wheel_candidates) == 1, wheel_candidates
E AssertionError: []
E assert 0 == 1
E + where 0 = len([])
tests/conftest.py:367: AssertionError
75% ███████▌
―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― ERROR at setup of test_correct_pip_version ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
tmpdir_factory = TempPathFactory(_given_basetemp=None, _trace=<pluggy._tracing.TagTracerSub object at 0x7f37f80ea820>, _basetemp=PosixPath('/tmp/pytest-of-tkloczko/pytest-14'))
common_wheels = PosixPath('/home/tkloczko/rpmbuild/BUILD/pip-22.2.2/tests/data/common_wheels')
@pytest.fixture(scope="session")
def coverage_install(
tmpdir_factory: pytest.TempPathFactory, common_wheels: Path
) -> Path:
> return _common_wheel_editable_install(tmpdir_factory, common_wheels, "coverage")
tests/conftest.py:410:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tmpdir_factory = TempPathFactory(_given_basetemp=None, _trace=<pluggy._tracing.TagTracerSub object at 0x7f37f80ea820>, _basetemp=PosixPath('/tmp/pytest-of-tkloczko/pytest-14'))
common_wheels = PosixPath('/home/tkloczko/rpmbuild/BUILD/pip-22.2.2/tests/data/common_wheels'), package = 'coverage'
def _common_wheel_editable_install(
tmpdir_factory: pytest.TempPathFactory, common_wheels: Path, package: str
) -> Path:
wheel_candidates = list(common_wheels.glob(f"{package}-*.whl"))
> assert len(wheel_candidates) == 1, wheel_candidates
E AssertionError: []
E assert 0 == 1
E + where 0 = len([])
tests/conftest.py:367: AssertionError
75% ███████▌
――――――――――――――――――――――――――――――――――――――――――――――――― ERROR at setup of TestPipTestEnvironment.test_run__allowed_stderr[INFO] ――――――――――――――――――――――――――――――――――――――――――――――――――
tmpdir_factory = TempPathFactory(_given_basetemp=None, _trace=<pluggy._tracing.TagTracerSub object at 0x7f37f80ea820>, _basetemp=PosixPath('/tmp/pytest-of-tkloczko/pytest-14'))
common_wheels = PosixPath('/home/tkloczko/rpmbuild/BUILD/pip-22.2.2/tests/data/common_wheels')
@pytest.fixture(scope="session")
def coverage_install(
tmpdir_factory: pytest.TempPathFactory, common_wheels: Path
) -> Path:
> return _common_wheel_editable_install(tmpdir_factory, common_wheels, "coverage")
tests/conftest.py:410:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tmpdir_factory = TempPathFactory(_given_basetemp=None, _trace=<pluggy._tracing.TagTracerSub object at 0x7f37f80ea820>, _basetemp=PosixPath('/tmp/pytest-of-tkloczko/pytest-14'))
common_wheels = PosixPath('/home/tkloczko/rpmbuild/BUILD/pip-22.2.2/tests/data/common_wheels'), package = 'coverage'
def _common_wheel_editable_install(
tmpdir_factory: pytest.TempPathFactory, common_wheels: Path, package: str
) -> Path:
wheel_candidates = list(common_wheels.glob(f"{package}-*.whl"))
> assert len(wheel_candidates) == 1, wheel_candidates
E AssertionError: []
E assert 0 == 1
E + where 0 = len([])
tests/conftest.py:367: AssertionError
75% ███████▌
――――――――――――――――――――――――――――――――――――――――――――――――― ERROR at setup of TestPipTestEnvironment.test_run__allowed_stderr[DEBUG] ―――――――――――――――――――――――――――――――――――――――――――――――――
tmpdir_factory = TempPathFactory(_given_basetemp=None, _trace=<pluggy._tracing.TagTracerSub object at 0x7f37f80ea820>, _basetemp=PosixPath('/tmp/pytest-of-tkloczko/pytest-14'))
common_wheels = PosixPath('/home/tkloczko/rpmbuild/BUILD/pip-22.2.2/tests/data/common_wheels')
@pytest.fixture(scope="session")
def coverage_install(
tmpdir_factory: pytest.TempPathFactory, common_wheels: Path
) -> Path:
> return _common_wheel_editable_install(tmpdir_factory, common_wheels, "coverage")
tests/conftest.py:410:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tmpdir_factory = TempPathFactory(_given_basetemp=None, _trace=<pluggy._tracing.TagTracerSub object at 0x7f37f80ea820>, _basetemp=PosixPath('/tmp/pytest-of-tkloczko/pytest-14'))
common_wheels = PosixPath('/home/tkloczko/rpmbuild/BUILD/pip-22.2.2/tests/data/common_wheels'), package = 'coverage'
def _common_wheel_editable_install(
tmpdir_factory: pytest.TempPathFactory, common_wheels: Path, package: str
) -> Path:
wheel_candidates = list(common_wheels.glob(f"{package}-*.whl"))
> assert len(wheel_candidates) == 1, wheel_candidates
E AssertionError: []
E assert 0 == 1
E + where 0 = len([])
tests/conftest.py:367: AssertionError
75% ███████▋
―――――――――――――――――――――――――――――――――――――――――――― ERROR at setup of TestPipTestEnvironment.test_run__allow_stderr_error[DEPRECATION] ――――――――――――――――――――――――――――――――――――――――――――
tmpdir_factory = TempPathFactory(_given_basetemp=None, _trace=<pluggy._tracing.TagTracerSub object at 0x7f37f80ea820>, _basetemp=PosixPath('/tmp/pytest-of-tkloczko/pytest-14'))
common_wheels = PosixPath('/home/tkloczko/rpmbuild/BUILD/pip-22.2.2/tests/data/common_wheels')
@pytest.fixture(scope="session")
def coverage_install(
tmpdir_factory: pytest.TempPathFactory, common_wheels: Path
) -> Path:
> return _common_wheel_editable_install(tmpdir_factory, common_wheels, "coverage")
tests/conftest.py:410:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tmpdir_factory = TempPathFactory(_given_basetemp=None, _trace=<pluggy._tracing.TagTracerSub object at 0x7f37f80ea820>, _basetemp=PosixPath('/tmp/pytest-of-tkloczko/pytest-14'))
common_wheels = PosixPath('/home/tkloczko/rpmbuild/BUILD/pip-22.2.2/tests/data/common_wheels'), package = 'coverage'
def _common_wheel_editable_install(
tmpdir_factory: pytest.TempPathFactory, common_wheels: Path, package: str
) -> Path:
wheel_candidates = list(common_wheels.glob(f"{package}-*.whl"))
> assert len(wheel_candidates) == 1, wheel_candidates
E AssertionError: []
E assert 0 == 1
E + where 0 = len([])
tests/conftest.py:367: AssertionError
75% ███████▋
―――――――――――――――――――――――――――――――――――――――――――――――――― ERROR at setup of TestPipTestEnvironment.test_run__allowed_stderr[FOO] ――――――――――――――――――――――――――――――――――――――――――――――――――
tmpdir_factory = TempPathFactory(_given_basetemp=None, _trace=<pluggy._tracing.TagTracerSub object at 0x7f37f80ea820>, _basetemp=PosixPath('/tmp/pytest-of-tkloczko/pytest-14'))
common_wheels = PosixPath('/home/tkloczko/rpmbuild/BUILD/pip-22.2.2/tests/data/common_wheels')
@pytest.fixture(scope="session")
def coverage_install(
tmpdir_factory: pytest.TempPathFactory, common_wheels: Path
) -> Path:
> return _common_wheel_editable_install(tmpdir_factory, common_wheels, "coverage")
tests/conftest.py:410:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tmpdir_factory = TempPathFactory(_given_basetemp=None, _trace=<pluggy._tracing.TagTracerSub object at 0x7f37f80ea820>, _basetemp=PosixPath('/tmp/pytest-of-tkloczko/pytest-14'))
common_wheels = PosixPath('/home/tkloczko/rpmbuild/BUILD/pip-22.2.2/tests/data/common_wheels'), package = 'coverage'
def _common_wheel_editable_install(
tmpdir_factory: pytest.TempPathFactory, common_wheels: Path, package: str
) -> Path:
wheel_candidates = list(common_wheels.glob(f"{package}-*.whl"))
> assert len(wheel_candidates) == 1, wheel_candidates
E AssertionError: []
E assert 0 == 1
E + where 0 = len([])
tests/conftest.py:367: AssertionError
76% ███████▋
―――――――――――――――――――――――――――――――――― ERROR at setup of TestPipTestEnvironment.test_run__allow_stderr_warning_false_error_with_expect_stderr ――――――――――――――――――――――――――――――――――
tmpdir_factory = TempPathFactory(_given_basetemp=None, _trace=<pluggy._tracing.TagTracerSub object at 0x7f37f80ea820>, _basetemp=PosixPath('/tmp/pytest-of-tkloczko/pytest-14'))
common_wheels = PosixPath('/home/tkloczko/rpmbuild/BUILD/pip-22.2.2/tests/data/common_wheels')
@pytest.fixture(scope="session")
def coverage_install(
tmpdir_factory: pytest.TempPathFactory, common_wheels: Path
) -> Path:
> return _common_wheel_editable_install(tmpdir_factory, common_wheels, "coverage")
tests/conftest.py:410:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tmpdir_factory = TempPathFactory(_given_basetemp=None, _trace=<pluggy._tracing.TagTracerSub object at 0x7f37f80ea820>, _basetemp=PosixPath('/tmp/pytest-of-tkloczko/pytest-14'))
common_wheels = PosixPath('/home/tkloczko/rpmbuild/BUILD/pip-22.2.2/tests/data/common_wheels'), package = 'coverage'
def _common_wheel_editable_install(
tmpdir_factory: pytest.TempPathFactory, common_wheels: Path, package: str
) -> Path:
wheel_candidates = list(common_wheels.glob(f"{package}-*.whl"))
> assert len(wheel_candidates) == 1, wheel_candidates
E AssertionError: []
E assert 0 == 1
E + where 0 = len([])
tests/conftest.py:367: AssertionError
76% ███████▋
――――――――――――――――――――――――――――――――――――――――――――――― ERROR at setup of TestPipTestEnvironment.test_run__allow_stderr_error[ERROR] ―――――――――――――――――――――――――――――――――――――――――――――――
tmpdir_factory = TempPathFactory(_given_basetemp=None, _trace=<pluggy._tracing.TagTracerSub object at 0x7f37f80ea820>, _basetemp=PosixPath('/tmp/pytest-of-tkloczko/pytest-14'))
common_wheels = PosixPath('/home/tkloczko/rpmbuild/BUILD/pip-22.2.2/tests/data/common_wheels')
@pytest.fixture(scope="session")
def coverage_install(
tmpdir_factory: pytest.TempPathFactory, common_wheels: Path
) -> Path:
> return _common_wheel_editable_install(tmpdir_factory, common_wheels, "coverage")
tests/conftest.py:410:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tmpdir_factory = TempPathFactory(_given_basetemp=None, _trace=<pluggy._tracing.TagTracerSub object at 0x7f37f80ea820>, _basetemp=PosixPath('/tmp/pytest-of-tkloczko/pytest-14'))
common_wheels = PosixPath('/home/tkloczko/rpmbuild/BUILD/pip-22.2.2/tests/data/common_wheels'), package = 'coverage'
def _common_wheel_editable_install(
tmpdir_factory: pytest.TempPathFactory, common_wheels: Path, package: str
) -> Path:
wheel_candidates = list(common_wheels.glob(f"{package}-*.whl"))
> assert len(wheel_candidates) == 1, wheel_candidates
E AssertionError: []
E assert 0 == 1
E + where 0 = len([])
tests/conftest.py:367: AssertionError
76% ███████▋
――――――――――――――――――――――――――――――――――― ERROR at setup of TestPipTestEnvironment.test_run__allow_stderr_error_false_error_with_expect_error ――――――――――――――――――――――――――――――――――――
tmpdir_factory = TempPathFactory(_given_basetemp=None, _trace=<pluggy._tracing.TagTracerSub object at 0x7f37f80ea820>, _basetemp=PosixPath('/tmp/pytest-of-tkloczko/pytest-14'))
common_wheels = PosixPath('/home/tkloczko/rpmbuild/BUILD/pip-22.2.2/tests/data/common_wheels')
@pytest.fixture(scope="session")
def coverage_install(
tmpdir_factory: pytest.TempPathFactory, common_wheels: Path
) -> Path:
> return _common_wheel_editable_install(tmpdir_factory, common_wheels, "coverage")
tests/conftest.py:410:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tmpdir_factory = TempPathFactory(_given_basetemp=None, _trace=<pluggy._tracing.TagTracerSub object at 0x7f37f80ea820>, _basetemp=PosixPath('/tmp/pytest-of-tkloczko/pytest-14'))
common_wheels = PosixPath('/home/tkloczko/rpmbuild/BUILD/pip-22.2.2/tests/data/common_wheels'), package = 'coverage'
def _common_wheel_editable_install(
tmpdir_factory: pytest.TempPathFactory, common_wheels: Path, package: str
) -> Path:
wheel_candidates = list(common_wheels.glob(f"{package}-*.whl"))
> assert len(wheel_candidates) == 1, wheel_candidates
E AssertionError: []
E assert 0 == 1
E + where 0 = len([])
tests/conftest.py:367: AssertionError
76% ███████▋
―――――――――――――――――――――――――――――― ERROR at setup of TestPipTestEnvironment.test_run__unexpected_stderr[WARNING-stderr has an unexpected warning] ――――――――――――――――――――――――――――――
tmpdir_factory = TempPathFactory(_given_basetemp=None, _trace=<pluggy._tracing.TagTracerSub object at 0x7f37f80ea820>, _basetemp=PosixPath('/tmp/pytest-of-tkloczko/pytest-14'))
common_wheels = PosixPath('/home/tkloczko/rpmbuild/BUILD/pip-22.2.2/tests/data/common_wheels')
@pytest.fixture(scope="session")
def coverage_install(
tmpdir_factory: pytest.TempPathFactory, common_wheels: Path
) -> Path:
> return _common_wheel_editable_install(tmpdir_factory, common_wheels, "coverage")
tests/conftest.py:410:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tmpdir_factory = TempPathFactory(_given_basetemp=None, _trace=<pluggy._tracing.TagTracerSub object at 0x7f37f80ea820>, _basetemp=PosixPath('/tmp/pytest-of-tkloczko/pytest-14'))
common_wheels = PosixPath('/home/tkloczko/rpmbuild/BUILD/pip-22.2.2/tests/data/common_wheels'), package = 'coverage'
def _common_wheel_editable_install(
tmpdir_factory: pytest.TempPathFactory, common_wheels: Path, package: str
) -> Path:
wheel_candidates = list(common_wheels.glob(f"{package}-*.whl"))
> assert len(wheel_candidates) == 1, wheel_candidates
E AssertionError: []
E assert 0 == 1
E + where 0 = len([])
tests/conftest.py:367: AssertionError
76% ███████▋
――――――――――――――――――――――――――――――――― ERROR at setup of TestPipTestEnvironment.test_run__allow_stderr_warning_false_error[allow_stderr_error] ――――――――――――――――――――――――――――――――――
tmpdir_factory = TempPathFactory(_given_basetemp=None, _trace=<pluggy._tracing.TagTracerSub object at 0x7f37f80ea820>, _basetemp=PosixPath('/tmp/pytest-of-tkloczko/pytest-14'))
common_wheels = PosixPath('/home/tkloczko/rpmbuild/BUILD/pip-22.2.2/tests/data/common_wheels')
@pytest.fixture(scope="session")
def coverage_install(
tmpdir_factory: pytest.TempPathFactory, common_wheels: Path
) -> Path:
> return _common_wheel_editable_install(tmpdir_factory, common_wheels, "coverage")
tests/conftest.py:410:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tmpdir_factory = TempPathFactory(_given_basetemp=None, _trace=<pluggy._tracing.TagTracerSub object at 0x7f37f80ea820>, _basetemp=PosixPath('/tmp/pytest-of-tkloczko/pytest-14'))
common_wheels = PosixPath('/home/tkloczko/rpmbuild/BUILD/pip-22.2.2/tests/data/common_wheels'), package = 'coverage'
def _common_wheel_editable_install(
tmpdir_factory: pytest.TempPathFactory, common_wheels: Path, package: str
) -> Path:
wheel_candidates = list(common_wheels.glob(f"{package}-*.whl"))
> assert len(wheel_candidates) == 1, wheel_candidates
E AssertionError: []
E assert 0 == 1
E + where 0 = len([])
tests/conftest.py:367: AssertionError
76% ███████▋
―――――――――――――――――――――――――――― ERROR at setup of TestPipTestEnvironment.test_run__unexpected_stderr[DEPRECATION-stderr has an unexpected warning] ――――――――――――――――――――――――――――
tmpdir_factory = TempPathFactory(_given_basetemp=None, _trace=<pluggy._tracing.TagTracerSub object at 0x7f37f80ea820>, _basetemp=PosixPath('/tmp/pytest-of-tkloczko/pytest-14'))
common_wheels = PosixPath('/home/tkloczko/rpmbuild/BUILD/pip-22.2.2/tests/data/common_wheels')
@pytest.fixture(scope="session")
def coverage_install(
tmpdir_factory: pytest.TempPathFactory, common_wheels: Path
) -> Path:
> return _common_wheel_editable_install(tmpdir_factory, common_wheels, "coverage")
tests/conftest.py:410:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tmpdir_factory = TempPathFactory(_given_basetemp=None, _trace=<pluggy._tracing.TagTracerSub object at 0x7f37f80ea820>, _basetemp=PosixPath('/tmp/pytest-of-tkloczko/pytest-14'))
common_wheels = PosixPath('/home/tkloczko/rpmbuild/BUILD/pip-22.2.2/tests/data/common_wheels'), package = 'coverage'
def _common_wheel_editable_install(
tmpdir_factory: pytest.TempPathFactory, common_wheels: Path, package: str
) -> Path:
wheel_candidates = list(common_wheels.glob(f"{package}-*.whl"))
> assert len(wheel_candidates) == 1, wheel_candidates
E AssertionError: []
E assert 0 == 1
E + where 0 = len([])
tests/conftest.py:367: AssertionError
76% ███████▋
――――――――――――――――――――――――――――――――――――――――――――――――― ERROR at setup of TestPipTestEnvironment.test_run__allow_stderr_warning ――――――――――――――――――――――――――――――――――――――――――――――――――
tmpdir_factory = TempPathFactory(_given_basetemp=None, _trace=<pluggy._tracing.TagTracerSub object at 0x7f37f80ea820>, _basetemp=PosixPath('/tmp/pytest-of-tkloczko/pytest-14'))
common_wheels = PosixPath('/home/tkloczko/rpmbuild/BUILD/pip-22.2.2/tests/data/common_wheels')
@pytest.fixture(scope="session")
def coverage_install(
tmpdir_factory: pytest.TempPathFactory, common_wheels: Path
) -> Path:
> return _common_wheel_editable_install(tmpdir_factory, common_wheels, "coverage")
tests/conftest.py:410:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tmpdir_factory = TempPathFactory(_given_basetemp=None, _trace=<pluggy._tracing.TagTracerSub object at 0x7f37f80ea820>, _basetemp=PosixPath('/tmp/pytest-of-tkloczko/pytest-14'))
common_wheels = PosixPath('/home/tkloczko/rpmbuild/BUILD/pip-22.2.2/tests/data/common_wheels'), package = 'coverage'
def _common_wheel_editable_install(
tmpdir_factory: pytest.TempPathFactory, common_wheels: Path, package: str
) -> Path:
wheel_candidates = list(common_wheels.glob(f"{package}-*.whl"))
> assert len(wheel_candidates) == 1, wheel_candidates
E AssertionError: []
E assert 0 == 1
E + where 0 = len([])
tests/conftest.py:367: AssertionError
76% ███████▋
―――――――――――――――――――――――――――――――――――――――――――――― ERROR at setup of TestPipTestEnvironment.test_run__allow_stderr_error[WARNING] ――――――――――――――――――――――――――――――――――――――――――――――
tmpdir_factory = TempPathFactory(_given_basetemp=None, _trace=<pluggy._tracing.TagTracerSub object at 0x7f37f80ea820>, _basetemp=PosixPath('/tmp/pytest-of-tkloczko/pytest-14'))
common_wheels = PosixPath('/home/tkloczko/rpmbuild/BUILD/pip-22.2.2/tests/data/common_wheels')
@pytest.fixture(scope="session")
def coverage_install(
tmpdir_factory: pytest.TempPathFactory, common_wheels: Path
) -> Path:
> return _common_wheel_editable_install(tmpdir_factory, common_wheels, "coverage")
tests/conftest.py:410:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tmpdir_factory = TempPathFactory(_given_basetemp=None, _trace=<pluggy._tracing.TagTracerSub object at 0x7f37f80ea820>, _basetemp=PosixPath('/tmp/pytest-of-tkloczko/pytest-14'))
common_wheels = PosixPath('/home/tkloczko/rpmbuild/BUILD/pip-22.2.2/tests/data/common_wheels'), package = 'coverage'
def _common_wheel_editable_install(
tmpdir_factory: pytest.TempPathFactory, common_wheels: Path, package: str
) -> Path:
wheel_candidates = list(common_wheels.glob(f"{package}-*.whl"))
> assert len(wheel_candidates) == 1, wheel_candidates
E AssertionError: []
E assert 0 == 1
E + where 0 = len([])
tests/conftest.py:367: AssertionError
76% ███████▋
――――――――――――――――――――――――――――――――――――― ERROR at setup of TestPipTestEnvironment.test_run__no_expect_error_fails_when_nonzero_returncode ―――――――――――――――――――――――――――――――――――――
tmpdir_factory = TempPathFactory(_given_basetemp=None, _trace=<pluggy._tracing.TagTracerSub object at 0x7f37f80ea820>, _basetemp=PosixPath('/tmp/pytest-of-tkloczko/pytest-14'))
common_wheels = PosixPath('/home/tkloczko/rpmbuild/BUILD/pip-22.2.2/tests/data/common_wheels')
@pytest.fixture(scope="session")
def coverage_install(
tmpdir_factory: pytest.TempPathFactory, common_wheels: Path
) -> Path:
> return _common_wheel_editable_install(tmpdir_factory, common_wheels, "coverage")
tests/conftest.py:410:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tmpdir_factory = TempPathFactory(_given_basetemp=None, _trace=<pluggy._tracing.TagTracerSub object at 0x7f37f80ea820>, _basetemp=PosixPath('/tmp/pytest-of-tkloczko/pytest-14'))
common_wheels = PosixPath('/home/tkloczko/rpmbuild/BUILD/pip-22.2.2/tests/data/common_wheels'), package = 'coverage'
def _common_wheel_editable_install(
tmpdir_factory: pytest.TempPathFactory, common_wheels: Path, package: str
) -> Path:
wheel_candidates = list(common_wheels.glob(f"{package}-*.whl"))
> assert len(wheel_candidates) == 1, wheel_candidates
E AssertionError: []
E assert 0 == 1
E + where 0 = len([])
tests/conftest.py:367: AssertionError
76% ███████▋
―――――――――――――――――――――――――――――――― ERROR at setup of TestPipTestEnvironment.test_run__unexpected_stderr[ERROR-stderr has an unexpected error] ――――――――――――――――――――――――――――――――
tmpdir_factory = TempPathFactory(_given_basetemp=None, _trace=<pluggy._tracing.TagTracerSub object at 0x7f37f80ea820>, _basetemp=PosixPath('/tmp/pytest-of-tkloczko/pytest-14'))
common_wheels = PosixPath('/home/tkloczko/rpmbuild/BUILD/pip-22.2.2/tests/data/common_wheels')
@pytest.fixture(scope="session")
def coverage_install(
tmpdir_factory: pytest.TempPathFactory, common_wheels: Path
) -> Path:
> return _common_wheel_editable_install(tmpdir_factory, common_wheels, "coverage")
tests/conftest.py:410:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tmpdir_factory = TempPathFactory(_given_basetemp=None, _trace=<pluggy._tracing.TagTracerSub object at 0x7f37f80ea820>, _basetemp=PosixPath('/tmp/pytest-of-tkloczko/pytest-14'))
common_wheels = PosixPath('/home/tkloczko/rpmbuild/BUILD/pip-22.2.2/tests/data/common_wheels'), package = 'coverage'
def _common_wheel_editable_install(
tmpdir_factory: pytest.TempPathFactory, common_wheels: Path, package: str
) -> Path:
wheel_candidates = list(common_wheels.glob(f"{package}-*.whl"))
> assert len(wheel_candidates) == 1, wheel_candidates
E AssertionError: []
E assert 0 == 1
E + where 0 = len([])
tests/conftest.py:367: AssertionError
76% ███████▋
―――――――――――――――――――――――――――――――――――― ERROR at setup of TestPipTestEnvironment.test_run__allow_stderr_warning_false_error[expect_error] ―――――――――――――――――――――――――――――――――――――
tmpdir_factory = TempPathFactory(_given_basetemp=None, _trace=<pluggy._tracing.TagTracerSub object at 0x7f37f80ea820>, _basetemp=PosixPath('/tmp/pytest-of-tkloczko/pytest-14'))
common_wheels = PosixPath('/home/tkloczko/rpmbuild/BUILD/pip-22.2.2/tests/data/common_wheels')
@pytest.fixture(scope="session")
def coverage_install(
tmpdir_factory: pytest.TempPathFactory, common_wheels: Path
) -> Path:
> return _common_wheel_editable_install(tmpdir_factory, common_wheels, "coverage")
tests/conftest.py:410:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tmpdir_factory = TempPathFactory(_given_basetemp=None, _trace=<pluggy._tracing.TagTracerSub object at 0x7f37f80ea820>, _basetemp=PosixPath('/tmp/pytest-of-tkloczko/pytest-14'))
common_wheels = PosixPath('/home/tkloczko/rpmbuild/BUILD/pip-22.2.2/tests/data/common_wheels'), package = 'coverage'
def _common_wheel_editable_install(
tmpdir_factory: pytest.TempPathFactory, common_wheels: Path, package: str
) -> Path:
wheel_candidates = list(common_wheels.glob(f"{package}-*.whl"))
> assert len(wheel_candidates) == 1, wheel_candidates
E AssertionError: []
E assert 0 == 1
E + where 0 = len([])
tests/conftest.py:367: AssertionError
76% ███████▋
――――――――――――――――――――――――――――――――――――――――――――――――――――― ERROR at setup of TestPipTestEnvironment.test_run__logging_error ―――――――――――――――――――――――――――――――――――――――――――――――――――――
tmpdir_factory = TempPathFactory(_given_basetemp=None, _trace=<pluggy._tracing.TagTracerSub object at 0x7f37f80ea820>, _basetemp=PosixPath('/tmp/pytest-of-tkloczko/pytest-14'))
common_wheels = PosixPath('/home/tkloczko/rpmbuild/BUILD/pip-22.2.2/tests/data/common_wheels')
@pytest.fixture(scope="session")
def coverage_install(
tmpdir_factory: pytest.TempPathFactory, common_wheels: Path
) -> Path:
> return _common_wheel_editable_install(tmpdir_factory, common_wheels, "coverage")
tests/conftest.py:410:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tmpdir_factory = TempPathFactory(_given_basetemp=None, _trace=<pluggy._tracing.TagTracerSub object at 0x7f37f80ea820>, _basetemp=PosixPath('/tmp/pytest-of-tkloczko/pytest-14'))
common_wheels = PosixPath('/home/tkloczko/rpmbuild/BUILD/pip-22.2.2/tests/data/common_wheels'), package = 'coverage'
def _common_wheel_editable_install(
tmpdir_factory: pytest.TempPathFactory, common_wheels: Path, package: str
) -> Path:
wheel_candidates = list(common_wheels.glob(f"{package}-*.whl"))
> assert len(wheel_candidates) == 1, wheel_candidates
E AssertionError: []
E assert 0 == 1
E + where 0 = len([])
tests/conftest.py:367: AssertionError
76% ███████▋
―――――――――――――――――――――――――――――――――――――――― ERROR at setup of TestPipTestEnvironment.test_run__expect_error_fails_when_zero_returncode ――――――――――――――――――――――――――――――――――――――――
tmpdir_factory = TempPathFactory(_given_basetemp=None, _trace=<pluggy._tracing.TagTracerSub object at 0x7f37f80ea820>, _basetemp=PosixPath('/tmp/pytest-of-tkloczko/pytest-14'))
common_wheels = PosixPath('/home/tkloczko/rpmbuild/BUILD/pip-22.2.2/tests/data/common_wheels')
@pytest.fixture(scope="session")
def coverage_install(
tmpdir_factory: pytest.TempPathFactory, common_wheels: Path
) -> Path:
> return _common_wheel_editable_install(tmpdir_factory, common_wheels, "coverage")
tests/conftest.py:410:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tmpdir_factory = TempPathFactory(_given_basetemp=None, _trace=<pluggy._tracing.TagTracerSub object at 0x7f37f80ea820>, _basetemp=PosixPath('/tmp/pytest-of-tkloczko/pytest-14'))
common_wheels = PosixPath('/home/tkloczko/rpmbuild/BUILD/pip-22.2.2/tests/data/common_wheels'), package = 'coverage'
def _common_wheel_editable_install(
tmpdir_factory: pytest.TempPathFactory, common_wheels: Path, package: str
) -> Path:
wheel_candidates = list(common_wheels.glob(f"{package}-*.whl"))
> assert len(wheel_candidates) == 1, wheel_candidates
E AssertionError: []
E assert 0 == 1
E + where 0 = len([])
tests/conftest.py:367: AssertionError
76% ███████▋
tests/unit/test_vcs.py ✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓s✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓ 84% ████████▌
tests/unit/test_network_auth.py ✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓ 86% ████████▋
tests/unit/test_commands.py ✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓ 89% ████████▉
tests/unit/test_models_wheel.py ✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓ 90% █████████
tests/unit/test_link.py ✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓ 93% █████████▍
tests/unit/test_vcs_mercurial.py s 93% █████████▍
tests/unit/test_collector.py ✓✓✓✓✓✓s✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓s✓✓✓✓✓s✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓ 99% █████████▉
tests/unit/test_appdirs.py ✓✓✓ss✓s✓s✓s✓✓s✓s✓ 100% ██████████
============================================================================= warnings summary =============================================================================
../../../../../usr/lib/python3.8/site-packages/_distutils_hack/__init__.py:33
/usr/lib/python3.8/site-packages/_distutils_hack/__init__.py:33: UserWarning: Setuptools is replacing distutils.
warnings.warn("Setuptools is replacing distutils.")
../../../../../usr/lib/python3.8/site-packages/pytest_freezegun.py:17: 4716 warnings
/usr/lib/python3.8/site-packages/pytest_freezegun.py:17: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
if LooseVersion(pytest.__version__) < LooseVersion('3.6.0'):
tests/unit/test_locations.py::TestDistutilsScheme::test_distutils_config_file_read
tests/unit/test_locations.py::TestDistutilsScheme::test_install_lib_takes_precedence
/home/tkloczko/rpmbuild/BUILDROOT/python-pip-22.2.2-2.fc35.x86_64/usr/lib/python3.8/site-packages/pip/_internal/locations/__init__.py:389: PipDeprecationWarning: DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
deprecated(
tests/unit/test_finder.py::test_finder_only_installs_data_require
/home/tkloczko/rpmbuild/BUILDROOT/python-pip-22.2.2-2.fc35.x86_64/usr/lib/python3.8/site-packages/pip/_vendor/packaging/specifiers.py:255: DeprecationWarning: Creating a LegacyVersion has been deprecated and will be removed in the next major release
warnings.warn(
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
========================================================================= short test summary info ==========================================================================
SKIPPED [3] tests/unit/test_req.py:840: Test only available on Windows
SKIPPED [1] tests/unit/test_urls.py:31: condition: sys.platform != 'win32'
SKIPPED [1] tests/unit/test_urls.py:66: condition: sys.platform != 'win32'
SKIPPED [1] tests/unit/test_vcs.py:20: Subversion is only required under CI
SKIPPED [1] tests/unit/test_vcs_mercurial.py:14: Mercurial is not available
SKIPPED [1] tests/unit/test_collector.py:291: condition: sys.platform != 'win32'
SKIPPED [2] tests/unit/test_collector.py:314: condition: sys.platform != 'win32'
SKIPPED [1] tests/unit/test_appdirs.py:14: Windows-only test
SKIPPED [1] tests/unit/test_appdirs.py:31: MacOS-only test
SKIPPED [1] tests/unit/test_appdirs.py:184: MacOS-only test
SKIPPED [1] tests/unit/test_appdirs.py:166: Windows-only test
SKIPPED [1] tests/unit/test_appdirs.py:147: Windows-only test
SKIPPED [1] tests/unit/test_appdirs.py:89: Windows-only test
SKIPPED [1] tests/unit/test_appdirs.py:103: MacOS-only test
xfail tests/unit/test_wheel.py::TestInstallUnpackedWheel::test_invalid_entrypoints_fail[console_scripts-hello = hello]
xfail tests/unit/test_wheel.py::TestInstallUnpackedWheel::test_invalid_entrypoints_fail[gui_scripts-hello = hello]
xfail tests/unit/test_wheel.py::TestInstallUnpackedWheel::test_invalid_entrypoints_fail[gui_scripts-hello = hello:]
xfail tests/unit/test_wheel.py::TestInstallUnpackedWheel::test_invalid_entrypoints_fail[console_scripts-hello = hello:]
FAILED tests/unit/test_base_command.py::test_log_file_command_error - assert False
FAILED tests/unit/test_base_command.py::test_base_command_global_tempdir_cleanup[deleted-False] - assert <contextlib.ExitStack object at 0x7f3670195b20> is None
FAILED tests/unit/test_base_command.py::test_base_command_provides_tempdir_helpers - assert <contextlib.ExitStack object at 0x7f3670195b20> is None
FAILED tests/unit/test_base_command.py::test_base_command_local_tempdir_cleanup[deleted-False] - assert <contextlib.ExitStack object at 0x7f3670195b20> is None
FAILED tests/unit/test_base_command.py::test_log_command_error - assert False
FAILED tests/unit/test_base_command.py::test_base_command_local_tempdir_cleanup[not_deleted-True] - assert <contextlib.ExitStack object at 0x7f3670195b20> is None
FAILED tests/unit/test_base_command.py::test_base_command_global_tempdir_cleanup[not_deleted-True] - assert <contextlib.ExitStack object at 0x7f3670195b20> is None
FAILED tests/unit/test_base_command.py::test_log_command_success - AssertionError: assert '2019-01-17T0...0:37,040 fake' == '2019-01-17T06:00:37,040 fake'
FAILED tests/unit/test_base_command.py::TestCommand::test_raise_broken_stdout - AssertionError: assert 'WARNING: --u...ut was broken' == 'ERROR: Pipe ...ut was broken'
FAILED tests/lib/test_lib.py::test_tmp_dir_exists_in_env - AssertionError: []
FAILED tests/lib/test_lib.py::test_as_import - AssertionError: []
FAILED tests/lib/test_lib.py::test_correct_pip_version - AssertionError: []
FAILED tests/lib/test_lib.py::TestPipTestEnvironment::test_run__allowed_stderr[INFO] - AssertionError: []
FAILED tests/lib/test_lib.py::TestPipTestEnvironment::test_run__allowed_stderr[DEBUG] - AssertionError: []
FAILED tests/lib/test_lib.py::TestPipTestEnvironment::test_run__allow_stderr_error[DEPRECATION] - AssertionError: []
FAILED tests/lib/test_lib.py::TestPipTestEnvironment::test_run__allowed_stderr[FOO] - AssertionError: []
FAILED tests/lib/test_lib.py::TestPipTestEnvironment::test_run__allow_stderr_warning_false_error_with_expect_stderr - AssertionError: []
FAILED tests/lib/test_lib.py::TestPipTestEnvironment::test_run__allow_stderr_error[ERROR] - AssertionError: []
FAILED tests/lib/test_lib.py::TestPipTestEnvironment::test_run__allow_stderr_error_false_error_with_expect_error - AssertionError: []
FAILED tests/lib/test_lib.py::TestPipTestEnvironment::test_run__unexpected_stderr[WARNING-stderr has an unexpected warning] - AssertionError: []
FAILED tests/lib/test_lib.py::TestPipTestEnvironment::test_run__allow_stderr_warning_false_error[allow_stderr_error] - AssertionError: []
FAILED tests/lib/test_lib.py::TestPipTestEnvironment::test_run__unexpected_stderr[DEPRECATION-stderr has an unexpected warning] - AssertionError: []
FAILED tests/lib/test_lib.py::TestPipTestEnvironment::test_run__allow_stderr_warning - AssertionError: []
FAILED tests/lib/test_lib.py::TestPipTestEnvironment::test_run__allow_stderr_error[WARNING] - AssertionError: []
FAILED tests/lib/test_lib.py::TestPipTestEnvironment::test_run__no_expect_error_fails_when_nonzero_returncode - AssertionError: []
FAILED tests/lib/test_lib.py::TestPipTestEnvironment::test_run__unexpected_stderr[ERROR-stderr has an unexpected error] - AssertionError: []
FAILED tests/lib/test_lib.py::TestPipTestEnvironment::test_run__allow_stderr_warning_false_error[expect_error] - AssertionError: []
FAILED tests/lib/test_lib.py::TestPipTestEnvironment::test_run__logging_error - AssertionError: []
FAILED tests/lib/test_lib.py::TestPipTestEnvironment::test_run__expect_error_fails_when_zero_returncode - AssertionError: []
Results (82.88s):
1440 passed
9 failed
- tests/unit/test_base_command.py:125 test_log_file_command_error
- tests/unit/test_base_command.py:163 test_base_command_global_tempdir_cleanup[deleted-False]
- tests/unit/test_base_command.py:143 test_base_command_provides_tempdir_helpers
- tests/unit/test_base_command.py:186 test_base_command_local_tempdir_cleanup[deleted-False]
- tests/unit/test_base_command.py:116 test_log_command_error
- tests/unit/test_base_command.py:186 test_base_command_local_tempdir_cleanup[not_deleted-True]
- tests/unit/test_base_command.py:163 test_base_command_global_tempdir_cleanup[not_deleted-True]
- tests/unit/test_base_command.py:107 test_log_command_success
- tests/unit/test_base_command.py:77 TestCommand.test_raise_broken_stdout
20 error
4 xfailed
17 skipped
868 deselected |
You're not running the test suite correctly. The correct way is to use nox from a git checkout of the project for lint. For tests, use You seem to be raising issues against various projects complaining that their test suites don't run when you don't follow the documented process for running them. Please don't. If you don't follow the documented process, that's your issue, not the project's. |
@kloczek has demonstrated on multiple occasions that they’re not interested in digging into the failures before filing issues like this, evidently preferring to get a lot of free support for debugging their own build system’s issues, from the various open source projects’ maintainers. I suggest that folks ignore this and any other issues that they may file. I certainly will. That is… unless @kloczek demonstrates that they’ve spent some time looking into the issue they’re hitting, that they’re following the project’s development practices and using modern Python packaging tools to build projects in environments that are compatible with the project. Otherwise, they’re serving as a net negative, taking away maintainer time and attention from other users, who have demonstrated more empathy and self-awareness of their actions. |
See also sphinx-doc/sphinx#9595, which was on the topic of building docs. They’ve also tried generating man pages in projects that don’t really support generating man pages (except that they use Sphinx, which does allow any documentation set to generate man pages in theory). |
That is a bit unexpected because in other projects which are using nox none of the params are needed. Q: are you considering to support pytest as well? |
Please quote any of my comment in which I demonstrated such behaviour. |
Description
nox and tox are not working and pytest is failing.
Expected behavior
At least one testing procedure shopuld be working.
pip version
22.2.2
Python version
3.8.13
OS
Linux/x86_64
How to Reproduce
nox
tox
Output
nox
tox
Code of Conduct
The text was updated successfully, but these errors were encountered: