def test(self): for desc in self.gen_desc(opts=self.opts): interp = Interpreter.get_interpreter(desc) for l in self.logicals: if verify(desc, l[0]): self.load_geom(desc['geom'], desc) ret = interp.execute() l[1](desc, ret)
def test(self): for desc in self.gen_desc(opts=self.opts): self.desc = desc interp = Interpreter.get_interpreter(desc) for l in self.iter_logicals(): if self.verify(desc, l[0]): try: self.ret = interp.execute() except: raise getattr(self, l[1])()
def test(self): for desc in self.gen_desc(opts=self.opts): self.desc = desc interp = Interpreter.get_interpreter(desc) for l in self.iter_logicals(): if self.verify(desc,l[0]): try: self.ret = interp.execute() except: raise getattr(self,l[1])()