예제 #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)