Windows系统:
File ==> settings ==> python integrated tools ==> Default test runner
将 pytest 修改为 Unittests 即可
点击右下方 Apply ,然后点击 OK

Windows系统:
File ==> settings ==> python integrated tools ==> Default test runner
将 pytest 修改为 Unittests 即可
点击右下方 Apply ,然后点击 OK
上一篇 python十分钟入门_30秒Python轻松入门-目录?
下一篇 TypeError: can‘t convert cuda:0 device type tensor to numpy. Use Tensor.cpu()_cudaerror?