Make pytest output column width independent (#9436)

Fixes #9336
This commit is contained in:
konsti 2024-11-26 10:59:04 +01:00 committed by GitHub
parent c30a314e0e
commit f886d08094
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 4 deletions

View File

@ -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 -----