报错:
Launching unittests with arguments python -m unittest E:/python code/test_name_function.py in E:python code
Ran 0 tests in 0.000s
OK
Process finished with exit code 0
Empty test suite.
解决方案:
将自己程序中def的函数名test()修改,pycharm中若检测到函数名是test则不会进入正常的运行模式
网友评论