summaryrefslogtreecommitdiff
path: root/git/test/performance
diff options
context:
space:
mode:
Diffstat (limited to 'git/test/performance')
-rw-r--r--git/test/performance/test_odb.py4
-rw-r--r--git/test/performance/test_streams.py2
2 files changed, 3 insertions, 3 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':
diff --git a/git/test/performance/test_streams.py b/git/test/performance/test_streams.py
index 3909d8ff..2e3772a0 100644
--- a/git/test/performance/test_streams.py
+++ b/git/test/performance/test_streams.py
@@ -69,7 +69,7 @@ class TestObjDBPerformance(TestBigRepoR):
# reading in chunks of 1 MiB
cs = 512 * 1000
- chunks = list()
+ chunks = []
st = time()
ostream = ldb.stream(binsha)
while True: