summaryrefslogtreecommitdiff
path: root/tests/test_sftp.py
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2016-04-23 18:57:15 -0700
committerJeff Forcier <jeff@bitprophet.org>2016-04-23 18:57:15 -0700
commitec7059d79770bb9890abd5c0514b67af7e9d2d52 (patch)
treeb483cfa25f95875ee05e891c00fe0ac2b925d52f /tests/test_sftp.py
parentd6f61c9fe98a127adc291ac43ca7cdaf62d7b79f (diff)
parenta0bf23a25c39d5c4d61dda29b60b04c1a6fd1c41 (diff)
downloadparamiko-ec7059d79770bb9890abd5c0514b67af7e9d2d52.tar.gz
Merge branch '1.16'
Diffstat (limited to 'tests/test_sftp.py')
-rwxr-xr-xtests/test_sftp.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_sftp.py b/tests/test_sftp.py
index 53b73ee0..e4c2c3a3 100755
--- a/tests/test_sftp.py
+++ b/tests/test_sftp.py
@@ -611,7 +611,7 @@ class SFTPTest (unittest.TestCase):
with sftp.open(FOLDER + '/bunny.txt', 'rb') as f:
self.assertEqual(text, f.read(128))
- self.assertEqual((41, 41), saved_progress[-1])
+ self.assertEqual([(41, 41)], saved_progress)
os.unlink(localname)
fd, localname = mkstemp()
@@ -621,7 +621,7 @@ class SFTPTest (unittest.TestCase):
with open(localname, 'rb') as f:
self.assertEqual(text, f.read(128))
- self.assertEqual((41, 41), saved_progress[-1])
+ self.assertEqual([(41, 41)], saved_progress)
os.unlink(localname)
sftp.unlink(FOLDER + '/bunny.txt')