Lines Matching refs:test_tmpdir
66 self.test_tmpdir = tempfile.mkdtemp()
69 shutil.rmtree(self.test_tmpdir)
94 with utils.TempFileContents(self.test_tmpdir, unformatted_code) as filepath:
119 with utils.TempFileContents(self.test_tmpdir, unformatted_code) as filepath:
142 with utils.TempFileContents(self.test_tmpdir, unformatted_code) as filepath:
170 with utils.TempFileContents(self.test_tmpdir, unformatted_code) as filepath:
186 with utils.TempFileContents(self.test_tmpdir, code) as filepath:
212 with utils.TempFileContents(self.test_tmpdir, unformatted_code) as filepath:
225 with utils.TempFileContents(self.test_tmpdir, unformatted_code) as filepath:
232 with utils.TempFileContents(self.test_tmpdir, unformatted_code) as filepath:
266 with utils.TempFileContents(self.test_tmpdir, code) as filepath:
277 with utils.TempFileContents(self.test_tmpdir, code) as filepath:
296 with utils.TempFileContents(self.test_tmpdir, unformatted_code) as filepath:
314 with utils.TempFileContents(self.test_tmpdir, unformatted_code) as filepath:
323 with utils.TempFileContents(self.test_tmpdir, code) as filepath:
342 with utils.TempFileContents(self.test_tmpdir, code) as filepath:
362 with utils.TempFileContents(self.test_tmpdir, code) as filepath:
369 with utils.TempFileContents(self.test_tmpdir, code) as filepath:
380 cls.test_tmpdir = tempfile.mkdtemp()
384 shutil.rmtree(cls.test_tmpdir)
419 dirname=self.test_tmpdir, suffix='.py') as (out, _):
421 self.test_tmpdir, unformatted_code, suffix='.py') as filepath:
434 self.test_tmpdir, unformatted_code, suffix='.py') as filepath:
445 self.test_tmpdir, unformatted_code, suffix='.py') as filepath:
456 self.test_tmpdir, unformatted_code, suffix='.py') as filepath:
511 with utils.TempFileContents(self.test_tmpdir, style_file) as stylepath:
535 suffix='.py', dirname=self.test_tmpdir) as (out, _):
537 self.test_tmpdir, unformatted_code, suffix='.py') as filepath:
1075 with utils.NamedTempFile(dirname=self.test_tmpdir, mode='w') as (f, name):
1176 with utils.TempFileContents(self.test_tmpdir, style_contents) as stylepath:
1200 with utils.TempFileContents(self.test_tmpdir, style_contents) as stylepath:
1228 with utils.TempFileContents(self.test_tmpdir, style_contents) as stylepath:
1256 with utils.TempFileContents(self.test_tmpdir, style_contents) as stylepath:
1272 with utils.NamedTempFile(dirname=self.test_tmpdir) as (stylefile,