summaryrefslogtreecommitdiffhomepage
path: root/tests/test_sftp_big.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_sftp_big.py')
-rw-r--r--tests/test_sftp_big.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_sftp_big.py b/tests/test_sftp_big.py
index aefe3ef3..94edab02 100644
--- a/tests/test_sftp_big.py
+++ b/tests/test_sftp_big.py
@@ -232,7 +232,7 @@ class BigSFTPTest (unittest.TestCase):
for i in xrange(len(readv_list)):
offset = readv_list[i][0]
n_offset = offset % 1024
- self.assertEqual(ret[i], k2blob[n_offset:n_offset + chunk])
+ self.assertEqual(ret.next(), k2blob[n_offset:n_offset + chunk])
f.close()
end = time.time()
sys.stderr.write('%ds ' % round(end - start))