VSCode pytest test discovery fails

后端 未结 10 705
南方客
南方客 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:03

    I resolved the issue by upgrading pytest to the latest version: 4.4.1 with "pip install --upgrade pytest". I was apparently running an old version 3.4.2

提交回复
热议问题