vscode错误与测试

时间:2019-10-01 16:53:22

标签: python-3.x unit-testing visual-studio-code vscode-settings

这周,我发现在vs代码中运行测试时遇到了问题。

从命令行运行时,测试可以正常运行,但是VSCode本身在启动时会产生此错误:

  

无法读取未定义的属性“ $”

enter image description here

还有其他人遇到过这个问题吗?
更改Python扩展程序的版本无济于事

1 个答案:

答案 0 :(得分:0)

软件包版本中的问题。已修复,因此 pip install pytest == 5.0.1 我不知道这可能与什么有关,但是vs代码中的问题消失了