Skip to content

docs: document terminal-size inconsistency under -n - #1355

Merged
RonnyPfannschmidt merged 1 commit into
pytest-dev:masterfrom
pctablet505:fix-1208-stdout-width
Aug 22, 2026
Merged

docs: document terminal-size inconsistency under -n#1355
RonnyPfannschmidt merged 1 commit into
pytest-dev:masterfrom
pctablet505:fix-1208-stdout-width

Conversation

@pctablet505

Copy link
Copy Markdown
Contributor

Fixes #1208

Documents that pytest-xdist workers run with replaced stdio pipes, so code that queries the terminal width sees the default size, and suggests monkeypatching the expected width in tests.

@pctablet505
pctablet505 marked this pull request as ready for review July 17, 2026 12:47
Add a note to the known limitations explaining that workers replace stdio with pipes, so code that queries the terminal width sees the default size.

Fixes pytest-dev#1208
@pctablet505
pctablet505 force-pushed the fix-1208-stdout-width branch from debdc50 to 8c93224 Compare August 21, 2026 15:17
@RonnyPfannschmidt
RonnyPfannschmidt merged commit 2fbbf9f into pytest-dev:master Aug 22, 2026
23 checks passed
@RonnyPfannschmidt

Copy link
Copy Markdown
Member

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

stdout width inconsistent

2 participants