Skip to content
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

PLEASE can someone do something about the utterly unreadable red font? #8852

Closed
Mrodent opened this issue Jul 4, 2021 · 4 comments
Closed

Comments

@Mrodent
Copy link

Mrodent commented Jul 4, 2021

What's the problem this feature will solve?

I cannot read the red (non-bright red) font which pytest uses. I've tried changing the background of my CLI (NB OS is W10) but this is not a very satisfactory solution.

Describe the solution you'd like

Just allow users to use a font, ANY font, which is actually readable for explaining a fail encountered while testing.

Alternative Solutions

I've tried changing the background of my CLI command prompt window. This HORRIBLE dark red font is virtually unreadable against most backgrounds

@The-Compiler
Copy link
Member

Duplicate of #6984. Note that the exact color is coming from your terminal, not from pytest - so you should be able to change it there somehow.

@Mrodent
Copy link
Author

Mrodent commented Jul 4, 2021

Yes, duplicate... um, with NO solution.

Two points:

  1. this is W10, and I don't think opportunities for configuring this sort of thing in the CLI ("Command Prompt", "MS-DOS window" or whatever it is called) exist in the way they do in *nix.
  2. somewhere in the pytest code, someone has consciously chosen this particular "colour directive" or whatever it is... Actually if you can tell me what file is involved maybe I can just dig into the thing and change it for something less absurdly illegible, possibly recompiling a file if I really have to...

@The-Compiler
Copy link
Member

The-Compiler commented Jul 4, 2021

Yes, duplicate... um, with NO solution.

That doesn't change anything about an open duplicate issue not being helpful.

this is W10, and I don't think opportunities for configuring this sort of thing in the CLI ("Command Prompt", "MS-DOS window" or whatever it is called) exist in the way they do in *nix.

You should be able to set them in the cmd.exe properties:

image

or consider using the new Windows terminal which has config files for this kind of thing.

somewhere in the pytest code, someone has consciously chosen this particular "colour directive" or whatever it is... Actually if you can tell me what file is involved maybe I can just dig into the thing and change it for something less absurdly illegible, possibly recompiling a file if I really have to...

Search for red=True in the code.

@Mrodent
Copy link
Author

Mrodent commented Jul 5, 2021

Thanks for the heads up about what to look for.

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

No branches or pull requests

2 participants