会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
园子里的瓜
博客园
首页
新随笔
联系
订阅
管理
2020年9月11日
unittest 常用的断言方法
摘要: 1.assertEqual(self, first, second, msg=None) --判断两个参数相等:first == second 2.assertNotEqual(self, first, second, msg=None) --判断两个参数不相等:first != second 3.
阅读全文
posted @ 2020-09-11 15:47 园子里的瓜
阅读(423)
评论(0)
推荐(0)
编辑
公告