summaryrefslogtreecommitdiff
path: root/test/git/performance/test_odb.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2010-07-13 09:48:20 +0200
committerSebastian Thiel <byronimo@gmail.com>2010-07-13 09:48:20 +0200
commitbcd37b68533d0cceb7e73dd1ed1428fa09f7dc17 (patch)
treeb5c7ae8a10b811a83406b79cf42cc0b81f0fb7e4 /test/git/performance/test_odb.py
parent55b67e8194b8b4d9e73e27feadbf9af6593e4600 (diff)
downloadgitpython-bcd37b68533d0cceb7e73dd1ed1428fa09f7dc17.tar.gz
Fixed incorrect use of Blob.data in performance test
Diffstat (limited to 'test/git/performance/test_odb.py')
-rw-r--r--test/git/performance/test_odb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/git/performance/test_odb.py b/test/git/performance/test_odb.py
index 0809469a..23d5b98e 100644
--- a/test/git/performance/test_odb.py
+++ b/test/git/performance/test_odb.py
@@ -51,7 +51,7 @@ class TestObjDBPerformance(TestBigRepoR):
too_many = 15000
for blob_list in blobs_per_commit:
for blob in blob_list:
- blob.data
+ blob.data_stream.read()
# END for each blobsha
nb += len(blob_list)
if nb > too_many: