Skip to content

Issues: pytest-dev/pytest

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Author
Filter by author
Loading
Label
Filter by label
Loading
Use alt + click/return to exclude labels
or + click/return for logical OR
Projects
Filter by project
Loading
Milestones
Filter by milestone
Loading
Assignee
Filter by who’s assigned
Sort

Issues list

"The handle is invalid" error when trying to use a std stream saved before teh call to pytest.main plugin: capture related to the capture builtin plugin type: docs documentation improvement, missing or needing clarification
#12876 opened Oct 10, 2024 by ikappaki
4 tasks done
sys.__stdout__.isatty() returns incorrect value for Windows 11 platform: windows windows platform-specific problem plugin: capture related to the capture builtin plugin type: bug problem that needs to be addressed
#12349 opened May 21, 2024 by jdgsmallwood
4 tasks done
Capture: copy output when using readouterr() instead of consuming it plugin: capture related to the capture builtin plugin type: enhancement new feature or API change, should be merged into features branch
#12081 opened Mar 6, 2024 by RedHellion
The colors of the logs are not displayed using --capture=tee-sys plugin: capture related to the capture builtin plugin plugin: logging related to the logging builtin plugin type: enhancement new feature or API change, should be merged into features branch
#11270 opened Aug 1, 2023 by nck974
4 tasks done
feature request: use --show-capture to show stdout and stderr but not logs plugin: capture related to the capture builtin plugin type: proposal proposal for a new feature, often to gather opinions or design the API around the new feature
#11037 opened May 25, 2023 by mvashishtha
capfd appears to be flaky on Windows (sometimes returning an empty string) platform: windows windows platform-specific problem plugin: capture related to the capture builtin plugin type: bug problem that needs to be addressed
#10843 opened Mar 27, 2023 by wjakob
Allow progress console_output_style even when capture=no plugin: capture related to the capture builtin plugin type: performance performance or memory problem/improvement
#10737 opened Feb 15, 2023 by reaperhulk
Invoking subprocess.check_output makes pytest fail under certain circumstances plugin: capture related to the capture builtin plugin
#10693 opened Jan 25, 2023 by RMPR
4 tasks done
--log-cli-level unexpectedly manipulates sys.stdout plugin: capture related to the capture builtin plugin plugin: logging related to the logging builtin plugin
#10553 opened Dec 2, 2022 by wouterdb
Logging StreamHandler fails when set up in fixture with capsys plugin: capture related to the capture builtin plugin
#10486 opened Nov 9, 2022 by tobinus
Way to disable stdout capturing from outside of a test plugin: capture related to the capture builtin plugin type: proposal proposal for a new feature, often to gather opinions or design the API around the new feature
#9775 opened Mar 15, 2022 by dzcode
Inconsistent wrapping of sys.stdout/stderr causes both capfd and capsys to fail plugin: capture related to the capture builtin plugin type: enhancement new feature or API change, should be merged into features branch
#9361 opened Dec 1, 2021 by Tronic
LogCaptureHandler can be garbage collected when caplog fixture is in use plugin: capture related to the capture builtin plugin plugin: logging related to the logging builtin plugin status: help wanted developers would like help from experts on this topic type: bug problem that needs to be addressed
#9236 opened Oct 25, 2021 by leamingrad
4 tasks done
Limit memory usage for captured logs or stdout plugin: capture related to the capture builtin plugin type: performance performance or memory problem/improvement
#9215 opened Oct 19, 2021 by ikonst
Disable pytest logging plugin for single test plugin: capture related to the capture builtin plugin plugin: logging related to the logging builtin plugin
#9018 opened Aug 18, 2021 by rooterkyberian
How to enable python selectors with pytest on linux? plugin: capture related to the capture builtin plugin type: question general question, might be closed after 2 weeks of inactivity
#9011 opened Aug 17, 2021 by AyushExel
--log-cli may cause some unrelated printed messages to be swallowed plugin: capture related to the capture builtin plugin plugin: logging related to the logging builtin plugin type: bug problem that needs to be addressed
#7148 opened May 1, 2020 by silversocket
EncodedFile: has errors=strict, but uses "replace" then unconditionally plugin: capture related to the capture builtin plugin type: bug problem that needs to be addressed
#6577 opened Jan 26, 2020 by blueyed
Output appears in "Captured stderr call" but is unavailable in capsys or capfd plugin: capture related to the capture builtin plugin plugin: logging related to the logging builtin plugin topic: fixtures anything involving fixtures directly or indirectly type: bug problem that needs to be addressed
#5997 opened Oct 18, 2019 by butla
Improve error message when tests use closed stdout/stderr (capture) plugin: capture related to the capture builtin plugin type: enhancement new feature or API change, should be merged into features branch
#5743 opened Aug 15, 2019 by nicoddemus
pytest capture logging error still happening plugin: capture related to the capture builtin plugin plugin: logging related to the logging builtin plugin type: bug problem that needs to be addressed
#5502 opened Jun 27, 2019 by spearsem
capture: combine or line-order intersparse stdout and stderr plugin: capture related to the capture builtin plugin status: critical grave problem or usability issue that affects lots of users type: enhancement new feature or API change, should be merged into features branch type: feature-branch new feature or API change, should be merged into features branch type: proposal proposal for a new feature, often to gather opinions or design the API around the new feature
#5449 opened Jun 14, 2019 by ssbarnea
pytest 4.5 floods the output with logging errors when logging from atexit handlers plugin: capture related to the capture builtin plugin type: bug problem that needs to be addressed
#5282 opened May 17, 2019 by hynek
sys.stdout.reconfigure raises AttributeError: '_io.FileIO' object has no attribute 'reconfigure' plugin: capture related to the capture builtin plugin type: bug problem that needs to be addressed
#4843 opened Feb 27, 2019 by jtmoon79
Using capfd in fixture breaks output capturing plugin: capture related to the capture builtin plugin topic: fixtures anything involving fixtures directly or indirectly
#4428 opened Nov 20, 2018 by Nikratio
ProTip! Follow long discussions with comments:>50.