mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-07 13:25:00 +00:00
uv/tests: update packse tests (#4015)
This is just the result of running ./scripts/sync_scenarios.sh From the root of the `uv` repository. When I initially ran this, it produced some tests with snapshots that weren't being updated. It turned out this was because the tests weren't running, as they were gated behind the `python-patch` feature. In this commit, we add `python-patch` to our `cargo insta` command, which should update all relevant snapshots. There are still some superfluous updates as a result of a spell checker being run on generated files, but
This commit is contained in:
parent
5c30b39fe3
commit
459966a132
2 changed files with 3 additions and 3 deletions
|
@ -501,7 +501,7 @@ fn dependency_excludes_range_of_compatible_versions() {
|
|||
/// There is a non-contiguous range of compatible versions for the requested package
|
||||
/// `a`, but another dependency `c` excludes the range. This is the same as
|
||||
/// `dependency-excludes-range-of-compatible-versions` but some of the versions of
|
||||
/// `a` are incompatible for another reason e.g. dependency on non-existent package
|
||||
/// `a` are incompatible for another reason e.g. dependency on non-existant package
|
||||
/// `d`.
|
||||
///
|
||||
/// ```text
|
||||
|
@ -3530,7 +3530,7 @@ fn package_only_prereleases_boundary() {
|
|||
"###);
|
||||
|
||||
// Since there are only prerelease versions of `a` available, a prerelease is
|
||||
// allowed. Since the user did not explicitly request a pre-release, pre-releases at
|
||||
// allowed. Since the user did not explictly request a pre-release, pre-releases at
|
||||
// the boundary should not be selected.
|
||||
assert_installed(
|
||||
&context.venv,
|
||||
|
|
|
@ -221,7 +221,7 @@ def main(scenarios: list[Path], snapshot_update: bool = True):
|
|||
"insta",
|
||||
"test",
|
||||
"--features",
|
||||
"pypi,python",
|
||||
"pypi,python,python-patch",
|
||||
"--accept",
|
||||
"--test-runner",
|
||||
"nextest",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue