Inconsistent terminal width expectations between built_by_uv_editable-2
and help tests
#9336
Labels
testing
Internal testing of behavior
Hit it with 0.5.4 and a513301.
There's a bunch of help tests in uv that assume a 100 character wide terminal. To make them pass in the past, I've started using
COLUMNS=100
to run the test suite. However, the most recent release introducedbuilt_by_uv_editable-2
that actually assumes a 80-character wide terminal. Hence, whicheverCOLUMNS
value I use, some tests fail.My guess would be that uv uses terminal width since it's "outer", while pytest defaults to 80 since it's run with piped stdout. The former implies we need to use
COLUMNS
if we don't have exactly the same terminal width as CI, butCOLUMNS
leaks into pytest and modifies its output.The text was updated successfully, but these errors were encountered: