diff options
author | Hugo <hugovk@users.noreply.github.com> | 2017-10-14 10:39:58 +0300 |
---|---|---|
committer | Hugo <hugovk@users.noreply.github.com> | 2017-10-14 10:39:58 +0300 |
commit | 1951daaf49bd42c37b168d9db1daae927e8da065 (patch) | |
tree | 98d1bfe5a408e8db976dbf8aa42662007713c06d | |
parent | 6978c7a0b8faa683b119de3a0c096be31ac4fdc9 (diff) |
Remove old Python 3.2 code
-rwxr-xr-x | tests/test_sftp.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/test_sftp.py b/tests/test_sftp.py index b3c7bf98..4fc27dc9 100755 --- a/tests/test_sftp.py +++ b/tests/test_sftp.py @@ -86,9 +86,7 @@ FOLDER = os.environ.get('TEST_FOLDER', 'temp-testing000') sftp = None tc = None g_big_file_test = True -# we need to use eval(compile()) here because Py3.2 doesn't support the 'u' marker for unicode -# this test is the only line in the entire program that has to be treated specially to support Py3.2 -unicode_folder = eval(compile(r"u'\u00fcnic\u00f8de'" if PY2 else r"'\u00fcnic\u00f8de'", 'test_sftp.py', 'eval')) +unicode_folder = u'\u00fcnic\u00f8de' if PY2 else '\u00fcnic\u00f8de' utf8_folder = b'/\xc3\xbcnic\xc3\xb8\x64\x65' |