summaryrefslogtreecommitdiff
path: root/tests/test_auth.py
diff options
context:
space:
mode:
authorTim Savage <tim.savage@westpacdatabank.com.au>2016-12-23 09:55:34 +1100
committerTim Savage <tim.savage@westpacdatabank.com.au>2016-12-23 09:55:34 +1100
commit0a90a25cded021434630a9deede365dd84021788 (patch)
tree58933d86078afa26ab15f1b547bdb931314c170d /tests/test_auth.py
parent1b62fb782346069aa905fb4f9602a43d9362a547 (diff)
downloadparamiko-0a90a25cded021434630a9deede365dd84021788.tar.gz
Fixed test to support python 2.6
Diffstat (limited to 'tests/test_auth.py')
-rw-r--r--tests/test_auth.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_auth.py b/tests/test_auth.py
index 5c0bd264..4fe6a325 100644
--- a/tests/test_auth.py
+++ b/tests/test_auth.py
@@ -253,7 +253,7 @@ class AuthTest (unittest.TestCase):
except:
etype, evalue, etb = sys.exc_info()
self.assertTrue(issubclass(etype, AuthenticationException))
- self.assertIn('Authentication timeout', str(evalue))
+ self.assertTrue('Authentication timeout' in str(evalue))
finally:
# Restore value
self.tc.auth_timeout = auth_timeout