Lines Matching refs:safe
44 for safe in (2, 2.0, 2j, "abc", [3], (2,2), {3: 3}, uni("yaddayadda"),
47 self.assertFalse(pprint.isrecursive(safe),
48 "expected not isrecursive for %r" % (safe,))
49 self.assertTrue(pprint.isreadable(safe),
50 "expected isreadable for %r" % (safe,))
52 self.assertFalse(pp.isrecursive(safe),
53 "expected not isrecursive for %r" % (safe,))
54 self.assertTrue(pp.isreadable(safe),
55 "expected isreadable for %r" % (safe,))
78 for safe in self.a, self.b, self.d, (self.d, self.d):
80 self.assertFalse(pprint.isrecursive(safe),
81 "expected not isrecursive for %r" % (safe,))
82 self.assertTrue(pprint.isreadable(safe),
83 "expected isreadable for %r" % (safe,))
85 self.assertFalse(pp.isrecursive(safe),
86 "expected not isrecursive for %r" % (safe,))
87 self.assertTrue(pp.isreadable(safe),
88 "expected isreadable for %r" % (safe,))