摘要:
https://docs.pytest.org/en/latest/getting started.html create your first test http://www.testclass.net/pytest 【一】assert & raise 共三个相关文件 test_assert_on 阅读全文
posted @ 2018-12-15 05:15
素人渔芙2017
阅读(643)
评论(0)
推荐(0)
摘要:
Python中的装饰器是你进入Python大门的一道坎,不管你跨不跨过去它都在那里。 为什么需要装饰器 我们假设你的程序实现了say_hello()和say_goodbye()两个函数。 def say_hello(): print "hello!" def say_goodbye(): print 阅读全文
posted @ 2018-12-15 05:06
素人渔芙2017
阅读(140)
评论(0)
推荐(0)


浙公网安备 33010602011771号