def test_os_listdir(self): def fn(): return os.listdir('.') res = self.ll_to_list(self.interpret(fn, [])) res = [self.ll_to_string(s) for s in res] res.sort() assert res == sorted(os.listdir('.'))