3
3
filespace = TestFilespace({"initial_file.txt":"Initial file contents\n"})
6
global_space['file'] = lambda filename, mode='r', bufsize=-1: filespace.getfile(filename, mode)
6
global_space['file'] = lambda filename, mode='r', bufsize=-1: filespace.openfile(filename, mode)
7
7
global_space['open'] = global_space['file']
8
8
global_space['raw_input'] = lambda x=None: raw_input()