summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--.travis.yml2
-rw-r--r--tests/test_client.py2
2 files changed, 1 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index 0e46ec84..89bb4444 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,9 +4,7 @@ cache:
directories:
- $HOME/.cache/pip
python:
- - "2.6"
- "2.7"
- - "3.3"
- "3.4"
- "3.5"
- "3.6"
diff --git a/tests/test_client.py b/tests/test_client.py
index 21b00b68..1068a8ad 100644
--- a/tests/test_client.py
+++ b/tests/test_client.py
@@ -589,7 +589,7 @@ class SSHClientTest (unittest.TestCase):
self.assertTrue(isinstance(e.args[1], SSHException),
'Expected original SSHException in exception')
else:
- self.assertFalse(False, 'SSHException was not thrown.')
+ self.fail('SSHException was not thrown.')
def test_missing_key_policy_accepts_classes_or_instances(self):