We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Pytest is returning an incorrect value for sys.__stdout__.isatty() on Windows 11 vs Linux / previous versions of Windows.
sys.__stdout__.isatty()
To reproduce:
import sys import os def test_example(): assert not sys.__stdout__.isatty() assert not os.isatty(sys.__stdout__.fileno())
Output of pip list
Package Version ---------- ------- colorama 0.4.6 iniconfig 2.0.0 packaging 24.0 pip 22.3.1 pluggy 1.5.0 pytest 8.2.1 setuptools 65.5.0
pip list
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Pytest is returning an incorrect value for
sys.__stdout__.isatty()
on Windows 11 vs Linux / previous versions of Windows.To reproduce:
Output of pip list
pip list
from the virtual environment you are usingThe text was updated successfully, but these errors were encountered: