Skip to content

Commit

Permalink
mark tests known to fail
Browse files Browse the repository at this point in the history
  • Loading branch information
Micah Denbraver authored and webknjaz committed Dec 16, 2024
1 parent e604dec commit 94860c7
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/test_cli_compile.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
from unittest import mock
from unittest.mock import MagicMock

import pip
import pytest
from pip._internal.req.constructors import install_req_from_line
from pip._internal.utils.hashes import FAVORITE_HASH
Expand Down Expand Up @@ -1476,6 +1477,10 @@ def test_multiple_input_files_without_output_file(runner):
assert out.exit_code == 2


@pytest.mark.xfail(
Version(pip.__version__) >= Version("24.3"),
reason="known issue in pip versions 24.3 and later (issue #2131)",
)
@pytest.mark.parametrize(
("options", "expected"),
(
Expand Down Expand Up @@ -3232,6 +3237,10 @@ def test_resolver_reaches_max_rounds(runner):
assert out.exit_code != 0, out


@pytest.mark.xfail(
Version(pip.__version__) >= Version("24.3"),
reason="known issue in pip versions 24.3 and later (issue #2131)",
)
def test_preserve_via_requirements_constrained_dependencies_when_run_twice(
pip_conf, runner
):
Expand Down

0 comments on commit 94860c7

Please sign in to comment.