Skip to content

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

Open
pctablet505 wants to merge 2 commits into
pytest-dev:masterfrom
pctablet505:fix-1208-stdout-width
Open

docs: document terminal-size inconsistency under -n#1355
pctablet505 wants to merge 2 commits into
pytest-dev:masterfrom
pctablet505:fix-1208-stdout-width

Conversation

@pctablet505

Copy link
Copy Markdown

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.

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 marked this pull request as ready for review July 17, 2026 12:47
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