0
0

[メモ] pytest 7.2.2を使用しているとVSCodeのPytestプラグインがテストを見つけてくれない

Posted at

現象

pytest 7.2.2を使用しているとVSCode起動時にPytestプラグインがテスト検索に失敗する。

バージョンを確認すると7.2.2だった。

$ pip show pytest
Name: pytest
Version: 7.2.2

解決方法

pytestのバージョンを最新版に更新し、VSCodeを再起動する。

$ pip install pytest --upgrade
$ pip show pytest
Name: pytest
Version: 8.2.2

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0