运行测试 ← 返回 Python3 unittest 单元测试 60.3 运行测试命令行:python -m unittest test_module.py或在文件末尾 unittest.main()测试文件建议以 test_ 开头一个功能可写多个 test_ 方法