Lines Matching refs:tmp_dir
177 with tempfile.TemporaryDirectory() as tmp_dir:
179 file1 = TemporaryPyFile(SOURCE_CODES["error_free"], directory=tmp_dir)
180 file2 = TemporaryPyFile(SOURCE_CODES["error_free"], directory=tmp_dir)
187 tabnanny.check(tmp_dir)
196 with tempfile.TemporaryDirectory() as tmp_dir:
197 with TemporaryPyFile(SOURCE_CODES["error_free"], directory=tmp_dir):
198 self.verify_tabnanny_check(tmp_dir)
243 with tempfile.TemporaryDirectory() as tmp_dir:
245 SOURCE_CODES["wrong_indented"], directory=tmp_dir
248 SOURCE_CODES["error_free"], directory=tmp_dir
254 self.verify_tabnanny_check(tmp_dir, err=err)