1)测试脚本中引入:from nose.tools import nottest,istest;. 2)不测试的方法:方法名上加修饰器@nottest;. eg: @nottest. def test_map():.
確定! 回上一頁