summaryrefslogtreecommitdiff
path: root/tests/utils_tests/test_tree.py
AgeCommit message (Collapse)Author
2018-08-08[2.1.x] Fixed #29643 -- Fixed crash when combining Q objects with __in ↵Mariusz Felisiak
lookups and lists. Regression in fc6528b25ab1834be1a478b405bf8f7ec5cf860c. Backport of 9fee229874367beafd532dad6d0f9ff9676ded0b from master
2017-09-28Fixed #28629 -- Made tree.Node instances hashable.Mariusz Felisiak
Regression in 508b5debfb16843a8443ebac82c1fb91f15da687 which added Node.__eq__().
2017-02-23Refs #11964 -- Made Q objects deconstructible.Ian Foote
2014-05-16Fixed #22531 -- Added tree.Node.__repr__ and tests for the class.Moayad Mardini
While Node class has a useful `__str__`, its `__repr__` is not that useful. Added a `__repr__` that makes use of the current `__str__`. This is especially useful since the more popular `Q` class inherits `tree.Node`. Also created new tests that cover most of `Node` class functionality.