You can pass keyword arguments to assertRaises without problems: self.assertRaises(ValueError, myfunc, arg1,arg2, arg3, arg4, abc=0, foo=1, bar="hello")
確定! 回上一頁