d = Dict() with self.assertRaises(AttributeError): value = d.empty ... 前面讲了这个多单元测试的基本使用方法,而深入理解它的基本原理很重要。
確定! 回上一頁