Skip to content

Commit 2d3ee66

Browse files
committed
Fix tests after packaging upgrade
1 parent 24c4a0a commit 2d3ee66

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

tests/functional/test_install_extras.py

+2-12
Original file line numberDiff line numberDiff line change
@@ -152,24 +152,14 @@ def test_install_fails_if_extra_at_end(
152152
script.scratch_path / "requirements.txt",
153153
expect_error=True,
154154
)
155-
assert "Extras after version" in result.stderr
155+
assert "Invalid requirement: 'requires_simple_extra>=0.1[extra]'" in result.stderr
156156

157157

158158
@pytest.mark.parametrize(
159159
"specified_extra, requested_extra",
160160
[
161161
("Hop_hOp-hoP", "Hop_hOp-hoP"),
162-
pytest.param(
163-
"Hop_hOp-hoP",
164-
"hop-hop-hop",
165-
marks=pytest.mark.xfail(
166-
reason=(
167-
"matching a normalized extra request against an"
168-
"unnormalized extra in metadata requires PEP 685 support "
169-
"in packaging (see pypa/pip#11445)."
170-
),
171-
),
172-
),
162+
("Hop_hOp-hoP", "hop-hop-hop"),
173163
("hop-hop-hop", "Hop_hOp-hoP"),
174164
],
175165
)

0 commit comments

Comments
 (0)