示例#1
0
 def test_errors(self):
     with self.assertRaises(NotImplementedError):
         utils.evaluate_declaration(declarations.OrderedDeclaration())
示例#2
0
 def test_errors(self):
     decl = declarations.OrderedDeclaration()
     self.assertRaises(NotImplementedError, decl.evaluate, None, {}, False)