class TestWthLibrary(unittest.TestCase): def setUp(self): self.ev = Evaluator({}) self.ev.run("[define, f, [open, common.yaml]]") self.ev.run("[define, toload, [read, f]]") self.ev.run("[close, f]") self.ev.run("[eval, toload]")
def setUp(self): self.ev = Evaluator({}) self.ev.run("[define, f, [open, common.yaml]]") self.ev.run("[define, toload, [read, f]]") self.ev.run("[close, f]") self.ev.run("[eval, toload]")