VSCode pytest test discovery fails

后端 未结 10 706
南方客
南方客 2020-12-15 16:25

Pytest test discovery is failing. The UI states:

Test discovery error, please check the configuration settings for the tests

The output window s

10条回答
  •  情书的邮戳
    2020-12-15 17:25

    I had this same issue and tracked it down to my pytest.ini file. Removing most of the addopts from that file fixed the issue.

提交回复
热议问题