(self)
| 184 | "expected isreadable for %r" % (safe,)) |
| 185 | |
| 186 | def test_stdout_is_None(self): |
| 187 | with contextlib.redirect_stdout(None): |
| 188 | # smoke test - there is no output to check |
| 189 | value = 'this should not fail' |
| 190 | pprint.pprint(value) |
| 191 | pprint.PrettyPrinter().pprint(value) |
| 192 | |
| 193 | def test_knotted(self): |
| 194 | # Verify .isrecursive() and .isreadable() w/ recursion |