Skip to content

Commit bcd37b6

Browse files
committed
Fixed incorrect use of Blob.data in performance test
1 parent 55b67e8 commit bcd37b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/git/performance/test_odb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def test_random_access(self):
5151
too_many = 15000
5252
for blob_list in blobs_per_commit:
5353
for blob in blob_list:
54-
blob.data
54+
blob.data_stream.read()
5555
# END for each blobsha
5656
nb += len(blob_list)
5757
if nb > too_many:

0 commit comments

Comments
 (0)