[debug] PyCharm runs the python script and reports "no test found" "empty suite"
Enterprise
2023-07-12 04:24:49
views: null
Problem Description:
- In
PyCharm
, right-click to run test_tensorboard.py
the script:
- Key words: 1. PyCharm
Right click in the middle to run; 2. The script name test
starts with;
Solution:
- By touching it myself, I found a solution to the problem: change the beginning of the script name to test!
python+文件名
- Or run in the way used in the PyCharm terminal ;
Solution process:
- I checked a lot, some said unittest, some said other ways to modify, I tried it, but it didn't solve the problem for me;
Problem solving results:
Origin blog.csdn.net/weixin_42306148/article/details/127782882