summaryrefslogtreecommitdiff
path: root/git/test/performance/test_odb.py
diff options
context:
space:
mode:
Diffstat (limited to 'git/test/performance/test_odb.py')
-rw-r--r--git/test/performance/test_odb.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/git/test/performance/test_odb.py b/git/test/performance/test_odb.py
index 425af84a..8bd614f2 100644
--- a/git/test/performance/test_odb.py
+++ b/git/test/performance/test_odb.py
@@ -28,11 +28,11 @@ class TestObjDBPerformance(TestBigRepoR):
# GET TREES
# walk all trees of all commits
st = time()
- blobs_per_commit = list()
+ blobs_per_commit = []
nt = 0
for commit in commits:
tree = commit.tree
- blobs = list()
+ blobs = []
for item in tree.traverse():
nt += 1
if item.type == 'blob':