mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-07 13:25:00 +00:00
Remove exclude newer methods on test context (#4535)
## Summary Closes https://github.com/astral-sh/uv/issues/4531.
This commit is contained in:
parent
c28a2c7583
commit
41f051db3b
13 changed files with 493 additions and 510 deletions
|
@ -31,6 +31,7 @@ fn command(context: &TestContext, python_versions: &[&str]) -> Command {
|
|||
.arg("--find-links")
|
||||
.arg("{{vendor_links}}");
|
||||
context.add_shared_args(&mut command);
|
||||
command.env_remove("UV_EXCLUDE_NEWER");
|
||||
command.env("UV_TEST_PYTHON_PATH", python_path);
|
||||
|
||||
command
|
||||
|
|
|
@ -51,6 +51,7 @@ fn command(context: &TestContext) -> Command {
|
|||
.arg("--find-links")
|
||||
.arg("{{vendor_links}}");
|
||||
context.add_shared_args(&mut command);
|
||||
command.env_remove("UV_EXCLUDE_NEWER");
|
||||
command
|
||||
}
|
||||
|
||||
|
|
|
@ -51,7 +51,8 @@ fn {{module_name}}() -> Result<()> {
|
|||
"###
|
||||
)?;
|
||||
|
||||
let mut cmd = context.lock_without_exclude_newer();
|
||||
let mut cmd = context.lock();
|
||||
cmd.env_remove("UV_EXCLUDE_NEWER");
|
||||
cmd.arg("--index-url").arg("{{index_url}}");
|
||||
{{#expected.explanation_lines}}
|
||||
// {{.}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue