比如,写成如下形式也会被 nose 视作一个测试类: from nose.tools import raises class TestStringMethods: def test_upper(self): assert ...
確定! 回上一頁