We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b249f4f commit c1f401cCopy full SHA for c1f401c
unittest测试使用.py
@@ -8,7 +8,7 @@ def test_add(self):
8
run_result=self.a+self.b
9
self.assertEqual(run_result,self.result,"self.a+self.b不等于3")
10
def tearDown(self):
11
- # 类似类的del方法,用来回收测试的环境
+ # 类似类的del方法
12
pass
13
if __name__=="__main__":
14
unittest.main()
0 commit comments