diff options
author | Scott Maxwell <scott@codecobblers.com> | 2013-11-01 00:51:00 -0700 |
---|---|---|
committer | Scott Maxwell <scott@codecobblers.com> | 2013-11-01 00:51:00 -0700 |
commit | fee18142a58dce099dd7a9bcb93d124a539cc55c (patch) | |
tree | f2345b9f8d93211dafe3175a16aac40f4103e7df /tests/test_auth.py | |
parent | 8a7267beeb3435fa16c06d22c201650e1e593d89 (diff) |
Fixes for Python 2.5 and Python 3.2 support
Diffstat (limited to 'tests/test_auth.py')
-rw-r--r-- | tests/test_auth.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/test_auth.py b/tests/test_auth.py index 5fd0bf5d..586289ba 100644 --- a/tests/test_auth.py +++ b/tests/test_auth.py @@ -29,13 +29,11 @@ from paramiko import Transport, ServerInterface, RSAKey, DSSKey, \ AuthenticationException from paramiko import AUTH_FAILED, AUTH_PARTIALLY_SUCCESSFUL, AUTH_SUCCESSFUL from paramiko import OPEN_SUCCEEDED, OPEN_FAILED_ADMINISTRATIVELY_PROHIBITED +from paramiko.py3compat import u from tests.loop import LoopSocket from tests.util import test_path -try: - _pwd = u'\u2022' -except Exception: - _pwd = '\u2022' +_pwd = u('\u2022') class NullServer (ServerInterface): |