PyCharm unittest Error:no tests were found
Administrator
发布于 2019-12-12 / 325 阅读 / 0 评论 / 0 点赞

PyCharm unittest Error:no tests were found

error like this:

image.png

image.png

solved: just add “if name == ‘main’”

image.png


评论