Searched refs:pindent (Results 1 – 3 of 3) sorted by relevance
/third_party/python/Lib/test/test_tools/ |
D | test_pindent.py | 24 def pindent(self, source, *args): member in PindentTests 55 self.assertEqual(self.pindent(clean, '-c'), closed) 56 self.assertEqual(self.pindent(closed, '-d'), clean) 77 self.assertEqual(self.pindent(broken, '-r'), indented) 80 self.assertEqual(self.pindent(clean, '-c'), closed) 81 self.assertEqual(self.pindent(closed, '-d'), clean) 83 self.assertEqual(self.pindent(broken, '-r', '-e', '-s', '4'), closed) 269 self.assertEqual(self.pindent(clean, '-c'), closed) 270 self.assertEqual(self.pindent(closed, '-d'), clean) 272 self.assertEqual(self.pindent(broken, '-r', '-e', '-s', '9'), closed) [all …]
|
/third_party/python/Tools/scripts/ |
D | README | 52 pindent.py Indent Python code, giving block-closing comments
|
/third_party/python/Misc/ |
D | HISTORY | 6084 - Issue #15539: Added regression tests for Tools/scripts/pindent.py. 6447 - Issue #15539: Fix a number of bugs in Tools/scripts/pindent.py. Now 6448 pindent.py works with a "with" statement. pindent.py no longer produces 6449 improper indentation. pindent.py now works with continued lines broken after 19526 - Bug #1072853: pindent.py used an uninitialized variable.
|