Skip to content

Commit

Permalink
Add missing bound on tomli tests (#7868)
Browse files Browse the repository at this point in the history
  • Loading branch information
konstin authored Oct 2, 2024
1 parent 30e11c6 commit 2552dc2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/uv/tests/pip_install.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3944,7 +3944,7 @@ fn respect_no_build_isolation_env_var() -> Result<()> {
fn install_utf16le_requirements() -> Result<()> {
let context = TestContext::new("3.12");
let requirements_txt = context.temp_dir.child("requirements.txt");
requirements_txt.write_binary(&utf8_to_utf16_with_bom_le("tomli"))?;
requirements_txt.write_binary(&utf8_to_utf16_with_bom_le("tomli<=2.0.1"))?;

uv_snapshot!(context.pip_install()
.env_remove("UV_EXCLUDE_NEWER")
Expand All @@ -3971,7 +3971,7 @@ fn install_utf16le_requirements() -> Result<()> {
fn install_utf16be_requirements() -> Result<()> {
let context = TestContext::new("3.12");
let requirements_txt = context.temp_dir.child("requirements.txt");
requirements_txt.write_binary(&utf8_to_utf16_with_bom_be("tomli"))?;
requirements_txt.write_binary(&utf8_to_utf16_with_bom_be("tomli<=2.0.1"))?;

uv_snapshot!(context.pip_install()
.env_remove("UV_EXCLUDE_NEWER")
Expand Down

0 comments on commit 2552dc2

Please sign in to comment.