Searched refs:pprint (Results 1 – 18 of 18) sorted by relevance
1 import pprint43 pp = pprint.PrettyPrinter()47 self.assertFalse(pprint.isrecursive(safe),49 self.assertTrue(pprint.isreadable(safe),65 pp = pprint.PrettyPrinter()68 self.assertTrue(pprint.isrecursive(icky), "expected isrecursive")69 self.assertFalse(pprint.isreadable(icky), "expected not isreadable")80 self.assertFalse(pprint.isrecursive(safe),82 self.assertTrue(pprint.isreadable(safe),92 pp = pprint.PrettyPrinter()[all …]
2 import pprint97 % (pprint.pformat(expected), pprint.pformat(events)))373 import pprint374 pprint.pprint(capture_events(callable))
2 import pprint63 % (pprint.pformat(events), pprint.pformat(expected)))
1 import pprint123 "Expected:\n" + pprint.pformat(expected_events) +124 "\nReceived:\n" + pprint.pformat(events))135 % (source, pprint.pformat(parser.get_events())))
4 import pprint83 "Expected:\n" + pprint.pformat(expected_events) +84 "\nReceived:\n" + pprint.pformat(events))
12 import pprint
13 import pprint112 sys.stdout.write("\n" + pprint.pformat(p) + "\n")354 pprint.pformat(s.getpeercert()))387 sys.stdout.write(" client cert is " + pprint.pformat(cert) + "\n")932 sys.stdout.write(pprint.pformat(cert) + '\n')936 pprint.pformat(cert))
115 from pprint import pprint117 pprint(self.symbol2number)119 pprint(self.number2symbol)121 pprint(self.states)123 pprint(self.dfas)125 pprint(self.labels)
47 def pprint(data): function72 pprint(data)
52 def pprint(object, stream=None, indent=1, width=80, depth=None): function56 printer.pprint(object)113 def pprint(self, object): member in PrettyPrinter
14 import pprint778 pprint.pprint(self._getval(arg), self.stdout)
324 from pprint import pprint326 pprint(self.config_vars)
287 import pprint347 pprint.pprint(vars, stream=f)
7 import pprint716 difflib.ndiff(pprint.pformat(seq1).splitlines(),717 pprint.pformat(seq2).splitlines()))828 pprint.pformat(d1).splitlines(),829 pprint.pformat(d2).splitlines())))
2 import pprint597 diff = '\n'.join(difflib.ndiff(pprint.pformat(seq1).splitlines(),598 pprint.pformat(seq2).splitlines()))
115 import pprint116 print pprint.pprint(tree)
301 from pprint import pformat
1083 from pprint import pformat