Remove test case that does not include global exclude newer (#15062)

Of course, this would flake over time.

Follows https://github.com/astral-sh/uv/pull/15054
This commit is contained in:
Zanie Blue
2025-08-04 10:03:10 -05:00
committed by GitHub
parent 60ddaddc9c
commit 8186aa963f
-30
View File
@@ -3543,36 +3543,6 @@ fn compile_exclude_newer_package() -> Result<()> {
"
);
// Test exclude-newer-package without global exclude-newer
uv_snapshot!(context
.pip_compile()
.env_remove(EnvVars::UV_EXCLUDE_NEWER)
.arg("requirements.in")
.arg("--exclude-newer-package")
.arg("tqdm=2022-04-04T12:00:00Z"), @r"
success: true
exit_code: 0
----- stdout -----
# This file was autogenerated by uv via the following command:
# uv pip compile --cache-dir [CACHE_DIR] requirements.in --exclude-newer-package tqdm=2022-04-04T12:00:00Z
certifi==2025.8.3
# via requests
charset-normalizer==3.4.2
# via requests
idna==3.10
# via requests
requests==2.32.4
# via -r requirements.in
tqdm==4.64.0
# via -r requirements.in
urllib3==2.5.0
# via requests
----- stderr -----
Resolved 6 packages in [TIME]
"
);
Ok(())
}