python单元测试报错 empty test suite

1. 每个测试用例函数的名字需要以 test_  开始,否则就出提示这个错误

例如: def test_hello(self):

                   print("hello")

猜你喜欢

转载自www.cnblogs.com/ting2018/p/9488003.html