Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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):