summaryrefslogtreecommitdiffhomepage
path: root/tests/test_sftp.py
diff options
context:
space:
mode:
authorScott Maxwell <scott@codecobblers.com>2013-11-19 10:09:08 -0800
committerScott Maxwell <scott@codecobblers.com>2013-11-19 10:09:08 -0800
commit6d75c75e643c3a109075e86e72b08221c76088cc (patch)
tree95dd49cbe6d9d194f337a8ae5310800a2f103430 /tests/test_sftp.py
parent981f768a62402a5aaa9f9f0ddfb4e14faa0d4442 (diff)
Remove byte conversions and unhexlify calls that we only needed for Py2.5 support and use the `b` byte string marker instead
Diffstat (limited to 'tests/test_sftp.py')
-rwxr-xr-xtests/test_sftp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_sftp.py b/tests/test_sftp.py
index f78047bb..271c08b5 100755
--- a/tests/test_sftp.py
+++ b/tests/test_sftp.py
@@ -549,7 +549,7 @@ class SFTPTest (unittest.TestCase):
fd, localname = mkstemp()
os.close(fd)
- text = b('All I wanted was a plastic bunny rabbit.\n')
+ text = b'All I wanted was a plastic bunny rabbit.\n'
with open(localname, 'wb') as f:
f.write(text)
saved_progress = []