Searched refs:pformat (Results 1 - 25 of 40) sorted by relevance

12

/prebuilts/gdb/darwin-x86/lib/python2.7/test/
H A Dtest_pprint.py127 for function in "pformat", "saferepr":
152 self.assertEqual(pprint.pformat(type(o)), exp)
157 self.assertEqual(pprint.pformat(type(o)), exp)
162 self.assertEqual(pprint.pformat(type(o)), exp)
168 self.assertEqual(pprint.pformat(type(o), indent=4), exp)
179 self.assertEqual(pprint.pformat(o, indent=4, width=42), expected)
184 # Before the change, on 32-bit Windows pformat() gave order
187 self.assertEqual(pprint.pformat(d), "{'a': 1, 'b': 1, 'c': 1}")
188 self.assertEqual(pprint.pformat([d, d]),
196 self.assertEqual(pprint.pformat({"x
[all...]
H A Dtest_hotshot.py63 % (pprint.pformat(events), pprint.pformat(expected)))
H A Dtest_sgmllib.py119 #print >>sys.stderr, pprint.pformat(self.events)
123 "Expected:\n" + pprint.pformat(expected_events) +
124 "\nReceived:\n" + pprint.pformat(events))
135 % (source, pprint.pformat(parser.get_events())))
H A Dtest_htmlparser.py83 "Expected:\n" + pprint.pformat(expected_events) +
84 "\nReceived:\n" + pprint.pformat(events))
H A Dtest_sys_setprofile.py97 % (pprint.pformat(expected), pprint.pformat(events)))
/prebuilts/gdb/linux-x86/lib/python2.7/test/
H A Dtest_pprint.py127 for function in "pformat", "saferepr":
152 self.assertEqual(pprint.pformat(type(o)), exp)
157 self.assertEqual(pprint.pformat(type(o)), exp)
162 self.assertEqual(pprint.pformat(type(o)), exp)
168 self.assertEqual(pprint.pformat(type(o), indent=4), exp)
179 self.assertEqual(pprint.pformat(o, indent=4, width=42), expected)
184 # Before the change, on 32-bit Windows pformat() gave order
187 self.assertEqual(pprint.pformat(d), "{'a': 1, 'b': 1, 'c': 1}")
188 self.assertEqual(pprint.pformat([d, d]),
196 self.assertEqual(pprint.pformat({"x
[all...]
H A Dtest_hotshot.py63 % (pprint.pformat(events), pprint.pformat(expected)))
H A Dtest_sgmllib.py119 #print >>sys.stderr, pprint.pformat(self.events)
123 "Expected:\n" + pprint.pformat(expected_events) +
124 "\nReceived:\n" + pprint.pformat(events))
135 % (source, pprint.pformat(parser.get_events())))
H A Dtest_htmlparser.py83 "Expected:\n" + pprint.pformat(expected_events) +
84 "\nReceived:\n" + pprint.pformat(events))
H A Dtest_sys_setprofile.py97 % (pprint.pformat(expected), pprint.pformat(events)))
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
H A Dtest_pprint.py127 for function in "pformat", "saferepr":
152 self.assertEqual(pprint.pformat(type(o)), exp)
157 self.assertEqual(pprint.pformat(type(o)), exp)
162 self.assertEqual(pprint.pformat(type(o)), exp)
168 self.assertEqual(pprint.pformat(type(o), indent=4), exp)
179 self.assertEqual(pprint.pformat(o, indent=4, width=42), expected)
184 # Before the change, on 32-bit Windows pformat() gave order
187 self.assertEqual(pprint.pformat(d), "{'a': 1, 'b': 1, 'c': 1}")
188 self.assertEqual(pprint.pformat([d, d]),
196 self.assertEqual(pprint.pformat({"x
[all...]
H A Dtest_hotshot.py63 % (pprint.pformat(events), pprint.pformat(expected)))
H A Dtest_sgmllib.py119 #print >>sys.stderr, pprint.pformat(self.events)
123 "Expected:\n" + pprint.pformat(expected_events) +
124 "\nReceived:\n" + pprint.pformat(events))
135 % (source, pprint.pformat(parser.get_events())))
H A Dtest_htmlparser.py83 "Expected:\n" + pprint.pformat(expected_events) +
84 "\nReceived:\n" + pprint.pformat(events))
H A Dtest_sys_setprofile.py97 % (pprint.pformat(expected), pprint.pformat(events)))
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
H A Dtest_pprint.py127 for function in "pformat", "saferepr":
152 self.assertEqual(pprint.pformat(type(o)), exp)
157 self.assertEqual(pprint.pformat(type(o)), exp)
162 self.assertEqual(pprint.pformat(type(o)), exp)
168 self.assertEqual(pprint.pformat(type(o), indent=4), exp)
179 self.assertEqual(pprint.pformat(o, indent=4, width=42), expected)
184 # Before the change, on 32-bit Windows pformat() gave order
187 self.assertEqual(pprint.pformat(d), "{'a': 1, 'b': 1, 'c': 1}")
188 self.assertEqual(pprint.pformat([d, d]),
196 self.assertEqual(pprint.pformat({"x
[all...]
H A Dtest_hotshot.py63 % (pprint.pformat(events), pprint.pformat(expected)))
H A Dtest_sgmllib.py119 #print >>sys.stderr, pprint.pformat(self.events)
123 "Expected:\n" + pprint.pformat(expected_events) +
124 "\nReceived:\n" + pprint.pformat(events))
135 % (source, pprint.pformat(parser.get_events())))
H A Dtest_htmlparser.py83 "Expected:\n" + pprint.pformat(expected_events) +
84 "\nReceived:\n" + pprint.pformat(events))
H A Dtest_sys_setprofile.py97 % (pprint.pformat(expected), pprint.pformat(events)))
/prebuilts/gdb/darwin-x86/lib/python2.7/
H A Dpprint.py25 pformat()
45 __all__ = ["pprint","pformat","isreadable","isrecursive","saferepr",
61 def pformat(object, indent=1, width=80, depth=None): function
63 return PrettyPrinter(indent=indent, width=width, depth=depth).pformat(object)
120 def pformat(self, object): member in class:PrettyPrinter
347 p.pformat(object)
350 print "pformat:", t3 - t2
/prebuilts/gdb/linux-x86/lib/python2.7/
H A Dpprint.py25 pformat()
45 __all__ = ["pprint","pformat","isreadable","isrecursive","saferepr",
61 def pformat(object, indent=1, width=80, depth=None): function
63 return PrettyPrinter(indent=indent, width=width, depth=depth).pformat(object)
120 def pformat(self, object): member in class:PrettyPrinter
347 p.pformat(object)
350 print "pformat:", t3 - t2
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
H A Dpprint.py25 pformat()
45 __all__ = ["pprint","pformat","isreadable","isrecursive","saferepr",
61 def pformat(object, indent=1, width=80, depth=None): function
63 return PrettyPrinter(indent=indent, width=width, depth=depth).pformat(object)
120 def pformat(self, object): member in class:PrettyPrinter
347 p.pformat(object)
350 print "pformat:", t3 - t2
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/
H A Dpprint.py25 pformat()
45 __all__ = ["pprint","pformat","isreadable","isrecursive","saferepr",
61 def pformat(object, indent=1, width=80, depth=None): function
63 return PrettyPrinter(indent=indent, width=width, depth=depth).pformat(object)
120 def pformat(self, object): member in class:PrettyPrinter
347 p.pformat(object)
350 print "pformat:", t3 - t2
/prebuilts/gdb/darwin-x86/lib/python2.7/unittest/
H A Dcase.py722 difflib.ndiff(pprint.pformat(seq1).splitlines(),
723 pprint.pformat(seq2).splitlines()))
834 pprint.pformat(d1).splitlines(),
835 pprint.pformat(d2).splitlines())))

Completed in 6218 milliseconds

12