summaryrefslogtreecommitdiff
path: root/git/test/performance/test_streams.py
diff options
context:
space:
mode:
authorPratik Anurag <panurag247365@gmail.com>2019-10-15 17:44:32 +0530
committerSebastian Thiel <sebastian.thiel@icloud.com>2019-10-15 15:13:01 +0200
commitb7289c75cceaaf292c6ee01a16b24021fd777ad5 (patch)
tree60584bb3990c71bb73f07f415dbcbdcad7de8378 /git/test/performance/test_streams.py
parent01f142158ee5f2c97ff28c27286c0700234bd8d2 (diff)
downloadgitpython-b7289c75cceaaf292c6ee01a16b24021fd777ad5.tar.gz
Update test_streams.py
Diffstat (limited to 'git/test/performance/test_streams.py')
-rw-r--r--git/test/performance/test_streams.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/git/test/performance/test_streams.py b/git/test/performance/test_streams.py
index ab3313c9..cc6f0335 100644
--- a/git/test/performance/test_streams.py
+++ b/git/test/performance/test_streams.py
@@ -121,7 +121,7 @@ class TestObjDBPerformance(TestBigRepoR):
# read all
st = time()
- _hexsha, _typename, size, data = rwrepo.git.get_object_data(gitsha) # @UnusedVariable
+ _hexsha, _typename, size, data = rwrepo.git.get_object_data(gitsha)
gelapsed_readall = time() - st
print("Read %i KiB of %s data at once using git-cat-file in %f s ( %f Read KiB / s)"
% (size_kib, desc, gelapsed_readall, size_kib / gelapsed_readall), file=sys.stderr)
@@ -132,7 +132,7 @@ class TestObjDBPerformance(TestBigRepoR):
# read chunks
st = time()
- _hexsha, _typename, size, stream = rwrepo.git.stream_object_data(gitsha)
+ _hexsha, _typename, size, stream = rwrepo.git.stream_object_data(gitsha)
while True:
data = stream.read(cs)
if len(data) < cs: