def tearDown(self): filedialog.askopenfilename = self.o_aof filedialog.askdirectory = self.o_ad builtins.input = self.o_input