Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Narvaez <dwnarvaez@gmail.com>2012-11-11 20:46:48 (GMT)
committer Daniel Narvaez <dwnarvaez@gmail.com>2012-11-11 20:46:48 (GMT)
commitbc518de415454effe5be7737122eb1efd7d5761c (patch)
tree20ce295c7833f96a22c5badf42bfcaf08d6b925c
parent1e861ca74a5e439b0f6b8e5b5db11a489bb7609b (diff)
Find on the child when crawling
-rw-r--r--tests/tree.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/tree.py b/tests/tree.py
index 2973c16..7988edd 100644
--- a/tests/tree.py
+++ b/tests/tree.py
@@ -72,7 +72,8 @@ class Node:
def _crawl_accessible(self, accessible, depth):
self._dump_accessible(accessible, depth)
- for child in self._find_children_internal():
+ node = Node(accessible)
+ for child in node._find_children_internal():
self._crawl_accessible(child, depth + 1)
def dump(self):