Skip to content

Commit

Permalink
Make pytest output column width independent (#9436)
Browse files Browse the repository at this point in the history
Fixes #9336
  • Loading branch information
konstin authored Nov 26, 2024
1 parent c30a314 commit f886d08
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions crates/uv/tests/it/build_backend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -189,15 +189,14 @@ fn built_by_uv_editable() -> Result<()> {
uv_snapshot!(Command::new(context.interpreter())
.arg("-m")
.arg("pytest")
// Avoid showing absolute paths
.arg("--no-header")
// Otherwise, the header has a different length on windows
// Avoid showing absolute paths and column dependent layout
.arg("--quiet")
.arg("--capture=no")
.current_dir(built_by_uv), @r###"
success: true
exit_code: 0
----- stdout -----
.. [100%]
..
2 passed in [TIME]
----- stderr -----
Expand Down

0 comments on commit f886d08

Please sign in to comment.