Lines Matching refs:isrecursive
42 # Verify .isrecursive() and .isreadable() w/o recursion
47 self.assertFalse(pprint.isrecursive(safe),
48 "expected not isrecursive for %r" % (safe,))
52 self.assertFalse(pp.isrecursive(safe),
53 "expected not isrecursive for %r" % (safe,))
58 # Verify .isrecursive() and .isreadable() w/ recursion
68 self.assertTrue(pprint.isrecursive(icky), "expected isrecursive")
70 self.assertTrue(pp.isrecursive(icky), "expected isrecursive")
80 self.assertFalse(pprint.isrecursive(safe),
81 "expected not isrecursive for %r" % (safe,))
85 self.assertFalse(pp.isrecursive(safe),
86 "expected not isrecursive for %r" % (safe,))
93 for unreadable in type(3), pprint, pprint.isrecursive:
95 self.assertFalse(pprint.isrecursive(unreadable),
96 "expected not isrecursive for %r" % (unreadable,))
100 self.assertFalse(pp.isrecursive(unreadable),
101 "expected not isrecursive for %r" % (unreadable,))