summaryrefslogtreecommitdiffhomepage
path: root/tests/test_sftp_big.py
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2014-04-24 09:34:00 -0700
committerJeff Forcier <jeff@bitprophet.org>2014-04-24 09:34:00 -0700
commit1321bc41dfe76a01c98f50c91e429eb69b06ed5e (patch)
treebeb74ec5cbd37091c7dd6a2cd2bbd12fdbdd3740 /tests/test_sftp_big.py
parenta1d291e04777fb963c1ac76d0d77b3ff7fe0732b (diff)
parentae30b31721fc461c46fc23b768703a3f29ee9939 (diff)
Merge branch '1.13'
Diffstat (limited to 'tests/test_sftp_big.py')
-rw-r--r--tests/test_sftp_big.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_sftp_big.py b/tests/test_sftp_big.py
index 521fbdc8..abed27b8 100644
--- a/tests/test_sftp_big.py
+++ b/tests/test_sftp_big.py
@@ -85,7 +85,7 @@ class BigSFTPTest (unittest.TestCase):
write a 1MB file with no buffering.
"""
sftp = get_sftp()
- kblob = (1024 * 'x')
+ kblob = (1024 * b'x')
start = time.time()
try:
with sftp.open('%s/hongry.txt' % FOLDER, 'w') as f:
@@ -231,7 +231,7 @@ class BigSFTPTest (unittest.TestCase):
without using it, to verify that paramiko doesn't get confused.
"""
sftp = get_sftp()
- kblob = (1024 * 'x')
+ kblob = (1024 * b'x')
try:
with sftp.open('%s/hongry.txt' % FOLDER, 'w') as f:
f.set_pipelined(True)