Lines Matching refs:clean
78 clean = f.read()
79 compile(clean, '_test.py', 'exec')
80 self.assertEqual(self.pindent(clean, '-c'), closed)
81 self.assertEqual(self.pindent(closed, '-d'), clean)
87 self.assertEqual(f.read(), clean)
104 def pindent_test(self, clean, closed): argument
105 self.assertEqual(self.pindent(clean, '-c'), closed)
106 self.assertEqual(self.pindent(closed, '-d'), clean)
111 clean = textwrap.dedent("""\
253 self.pindent_test(clean, closed)
256 clean = textwrap.dedent("""\
279 self.pindent_test(clean, closed)
282 clean = textwrap.dedent("""\
294 self.assertEqual(self.pindent(clean, '-c'), closed)
295 self.assertEqual(self.pindent(closed, '-d'), clean)
298 clean = textwrap.dedent("""\
310 self.assertEqual(self.pindent(clean, '-c'), closed)
311 self.assertEqual(self.pindent(closed, '-d'), clean)
316 clean = textwrap.dedent("""\
336 self.assertEqual(self.pindent(clean, '-c'), closed)
337 self.assertEqual(self.pindent(closed, '-d'), clean)
340 clean = textwrap.dedent("""\
351 self.pindent_test(clean, closed)
354 clean = textwrap.dedent("""\
361 self.pindent_test(clean, closed)