summaryrefslogtreecommitdiffhomepage
path: root/tests/test_sftp_big.py
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2014-09-08 10:42:59 -0700
committerJeff Forcier <jeff@bitprophet.org>2014-09-08 10:42:59 -0700
commit615c30759f62c1ccb5120223f12d1415d09a3566 (patch)
tree99bed6c92ab7f8767e3386c11f5826d059503381 /tests/test_sftp_big.py
parent77b1aaccc6dcc17108da17dc609c81bdd4e9a0e5 (diff)
parentec9f8a26d4ea77ce6e4a1afe1a9e3b29dbf002bf (diff)
Merge branch 'master' into 298-int
Conflicts: setup.py
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)