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

No color? #22303

Closed
jrieken opened this issue Oct 24, 2023 · 3 comments
Closed

No color? #22303

jrieken opened this issue Oct 24, 2023 · 3 comments
Assignees
Labels
area-testing info-needed Issue requires more information from poster triage-needed Needs assignment to the proper sub-team

Comments

@jrieken
Copy link
Member

jrieken commented Oct 24, 2023

Testing #21861

I honestly don't really know what I am testing/doing here but I have set the --color=yes argument but I don't see any color in the test results pane nor in the peek view. So, I guess that's unwanted

{
    "python.experiments.optInto": ["pythonTestAdapter"],
    "python.testing.pytestArgs": ["--color=yes","-o", "log_cli=true"]
}
Screenshot 2023-10-24 at 14 39 26
@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Oct 24, 2023
@eleanorjboyd
Copy link
Member

Will investigate, the screenshot you provided below shows that the color isn't working so this looks to be a legitimate bug. Thanks!

@github-actions github-actions bot added the info-needed Issue requires more information from poster label Oct 24, 2023
@eleanorjboyd
Copy link
Member

Hi! Any chance you could set your log level to "trace" and send over the associated "python" output channel logs? I tried the same args and test and got full color. The logs can help me determine if that argument is even making it to pytest or not. Thanks!

@eleanorjboyd
Copy link
Member

Hello! @cwebster-99 ran into the same problem and realized that setting your pytestArgs in your user settings doesn't work if you have workspace settings defined for pytestArgs. Since we define the pytestArgs on configuration for you in your workspace you very likely have them there are that is why it isn't working in your user settings. Going to close this since Courtney had the same problem then you don't have to worry about repro-ing

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-testing info-needed Issue requires more information from poster triage-needed Needs assignment to the proper sub-team
Projects
None yet
Development

No branches or pull requests

2 participants