summaryrefslogtreecommitdiff
path: root/test/git/test_tree.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/git/test_tree.py')
-rw-r--r--test/git/test_tree.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/git/test_tree.py b/test/git/test_tree.py
index e0c1f134..2bfd9922 100644
--- a/test/git/test_tree.py
+++ b/test/git/test_tree.py
@@ -29,7 +29,7 @@ class TestTree(TestCase):
# limit recursion level to 0 - should be same as default iteration
assert all_items
assert 'CHANGES' in root
- assert len(list(root)) == len(list(root.traverse(max_depth=0)))
+ assert len(list(root)) == len(list(root.traverse(depth=1)))
# only choose trees
trees_only = lambda i: i.type == "tree"