PyCharm中运行unittest提示No tests were found 1. 现象2. 解决方案 1. 现象 在 PyCharm 中运行 Python 的单元测试用例,提示 No tests were found 2. 解决方案 去掉 unittest.main后面的括号,再次运行,成功!