Lines Matching refs:safe
58 for safe in (2, 2.0, 2j, "abc", [3], (2,2), {3: 3}, uni("yaddayadda"),
62 self.assertFalse(pprint.isrecursive(safe),
63 "expected not isrecursive for %r" % (safe,))
64 self.assertTrue(pprint.isreadable(safe),
65 "expected isreadable for %r" % (safe,))
67 self.assertFalse(pp.isrecursive(safe),
68 "expected not isrecursive for %r" % (safe,))
69 self.assertTrue(pp.isreadable(safe),
70 "expected isreadable for %r" % (safe,))
93 for safe in self.a, self.b, self.d, (self.d, self.d):
95 self.assertFalse(pprint.isrecursive(safe),
96 "expected not isrecursive for %r" % (safe,))
97 self.assertTrue(pprint.isreadable(safe),
98 "expected isreadable for %r" % (safe,))
100 self.assertFalse(pp.isrecursive(safe),
101 "expected not isrecursive for %r" % (safe,))
102 self.assertTrue(pp.isreadable(safe),
103 "expected isreadable for %r" % (safe,))