We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 406a6ef commit 4f0406eCopy full SHA for 4f0406e
1 file changed
tests/test_pprint.py
@@ -174,7 +174,7 @@ def test_knotted(self):
174
def test_unreadable(self):
175
# Not recursive but not readable anyway
176
pp = pprint.PrettyPrinter()
177
- for unreadable in type(3), pprint, pprint.isrecursive:
+ for unreadable in int, pprint, pprint.isrecursive:
178
# module-level convenience functions
179
self.assertFalse(pprint.isrecursive(unreadable), f"expected not isrecursive for {unreadable!r}")
180
self.assertFalse(pprint.isreadable(unreadable), f"expected not isreadable for {unreadable!r}")
0 commit comments