We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 181a7ca commit 007caf6Copy full SHA for 007caf6
tests/functional/test_exclude_newer.py
@@ -14,14 +14,8 @@ def test_exclude_newer_than_invalid_date(
14
self, script: PipTestEnvironment, data: TestData
15
) -> None:
16
"""Test that --exclude-newer-than fails with invalid date format."""
17
- result = script.pip(
18
- "install",
19
- "--no-index",
20
- "-f",
21
- data.packages,
22
- "--exclude-newer-than=invalid-date",
23
- "simple",
24
- expect_error=True,
+ result = script.pip_install_local(
+ "--exclude-newer-than=invalid-date", "simple", expect_error=True
25
)
26
27
# Should fail with date parsing error
0 commit comments