Repository navigation
Terminal reporter doesn't print #8973
Copy link
Copy link
Open
Labels
topic: reportingrelated to terminal output and user-facing messages and errorsrelated to terminal output and user-facing messages and errorstype: bugproblem that needs to be addressedproblem that needs to be addressedtype: regressionindicates a problem that was introduced in a release which was working previouslyindicates a problem that was introduced in a release which was working previously
Description
Activity
- addedtopic: reportingrelated to terminal output and user-facing messages and errorsrelated to terminal output and user-facing messages and errorstype: bugproblem that needs to be addressedproblem that needs to be addressedtype: regressionindicates a problem that was introduced in a release which was working previouslyindicates a problem that was introduced in a release which was working previously
on Aug 3, 2021 @gaborbernat extra fun, without flush it works on pytest 6.x+
Eh what 😂
@gaborbernat i identified the core issue - terminalwriter for some reason is not using a dup-ed stdout, so it is subject to capture intervention,l i will work out a bugfix later on
Great 👍
@RonnyPfannschmidt has this been addressed?
No
Any updates?
- added a commit that references this issue
on Oct 26, 2025 - added 3 commits that reference this issue
on Jul 24, 2026 - added 2 commits that reference this issue
on Sep 12, 2026 - added a commit that references this issue
on Sep 23, 2026 There does not seem to be enough interest in this, so I am closing it. Thanks for taking a look.
there is actually a work in progress that resolves this
- added a commit that references this issue
on Oct 4, 2026
Metadata
Metadata
Assignees
Labels
topic: reportingrelated to terminal output and user-facing messages and errorsrelated to terminal output and user-facing messages and errorstype: bugproblem that needs to be addressedproblem that needs to be addressedtype: regressionindicates a problem that was introduced in a release which was working previouslyindicates a problem that was introduced in a release which was working previously
If you run the above file through pytest nothing is written on the output.
Though I'd expect something like:
Note if you remove the flush we do get the message printed, but without respecting the ensure newline (instead you get
test_a.py magic.).