[Python] no output in python test log panel in VSCODE

Discussão em 'Python' iniciado por Stack, Maio 12, 2025.

  1. Stack

    Stack Membro Participativo

    I use pytest to test my codes. The debug of the unit test can print the output to the debug console. But I just run the unit test, no output is printed to the python test log panel. here is setting of pytest:

    "python.testing.unittestEnabled": false,
    "python.testing.pytestEnabled": true,
    "python.testing.pytestArgs": [
    "-s"
    ],


    python test log panel test results panel

    I already set the pytestArgs parameter and took a look of other panels. There are no outputs of test in anywhere.

    Continue reading...

Compartilhe esta Página