Raymond Hettinger <raymond.hettin...@gmail.com> added the comment:
I believe this is outside the scope of what intended. For the most part, the test methods need to be as direct and non-magical as possible so that we're clear on what is being tested. Another issue with built in recursion is that different people have different notions of what is atomic, different notions of search order (depth first, breadth first, pre-order, in-order, post-order, etc), and different notions on maximum depth etc. The unittest module leaves those decisions to the tester and instead focuses on simple and direct properties of objects under test. ---------- assignee: -> michael.foord nosy: +lisroach, michael.foord, rhettinger, vstinner _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue36201> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com