Skip to content

Commit b7289c7

Browse files
pratik-anuragByron
authored andcommitted
Update test_streams.py
1 parent 01f1421 commit b7289c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

git/test/performance/test_streams.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def test_large_data_streaming(self, rwrepo):
121121

122122
# read all
123123
st = time()
124-
_hexsha, _typename, size, data = rwrepo.git.get_object_data(gitsha) # @UnusedVariable
124+
_hexsha, _typename, size, data = rwrepo.git.get_object_data(gitsha)
125125
gelapsed_readall = time() - st
126126
print("Read %i KiB of %s data at once using git-cat-file in %f s ( %f Read KiB / s)"
127127
% (size_kib, desc, gelapsed_readall, size_kib / gelapsed_readall), file=sys.stderr)
@@ -132,7 +132,7 @@ def test_large_data_streaming(self, rwrepo):
132132

133133
# read chunks
134134
st = time()
135-
_hexsha, _typename, size, stream = rwrepo.git.stream_object_data(gitsha)
135+
_hexsha, _typename, size, stream = rwrepo.git.stream_object_data(gitsha)
136136
while True:
137137
data = stream.read(cs)
138138
if len(data) < cs:

0 commit comments

Comments
 (0)