摘要: 用unicode编码方式来输入文字 阅读全文
posted @ 2018-02-22 18:07 #天羽Owl 阅读(510) 评论(0) 推荐(0) 编辑
摘要: 单元测试unittest提供了四个装饰器,用以实现测试跳过和预期故障:@unittest.skip(reason),@unittest.skipIf(condition,reason),@unittest.skipUnless(condition,reason),@unittest.expectedFailure 阅读全文
posted @ 2018-02-22 17:41 #天羽Owl 阅读(155) 评论(0) 推荐(0) 编辑