摘要: 以后要看的链接:http://pyunit.sourceforge.net/pyunit_cn.html#TESTFUNChttp://www.ibm.com/developerworks/cn/linux/l-pyunit/index.html 阅读全文
posted @ 2014-11-27 15:05 sola_tester 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 赋值语句普通赋值:>>> x,y,z = 1,2,3>>> print x,y,z1 2 3>>> x,y = y,x>>> print x,y2 1元组(序列)解包赋值:>>> a = (1,2,3)>>> x,y,z = a>>> x1字典赋值:>>> people = {"name":"cq"... 阅读全文
posted @ 2014-11-27 00:57 sola_tester 阅读(187) 评论(0) 推荐(0) 编辑