summaryrefslogtreecommitdiffhomepage
path: root/tests/test_kex.py
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2023-01-16 19:40:31 -0500
committerJeff Forcier <jeff@bitprophet.org>2023-01-16 19:40:31 -0500
commit8d52c334b8b99eb96094edb1b513b26f864eeabd (patch)
tree43cba7b53cfb28277f546b09d1fd99aebc7f9e36 /tests/test_kex.py
parente993a986388b0ec44b109a03edd34937a51aa9a1 (diff)
No more (object)ions
Diffstat (limited to 'tests/test_kex.py')
-rw-r--r--tests/test_kex.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_kex.py b/tests/test_kex.py
index 45a691f2..c3bf2b0f 100644
--- a/tests/test_kex.py
+++ b/tests/test_kex.py
@@ -69,7 +69,7 @@ def dummy_generate_key_pair(obj):
)
-class FakeKey(object):
+class FakeKey:
def __str__(self):
return "fake-key"
@@ -80,7 +80,7 @@ class FakeKey(object):
return b"fake-sig"
-class FakeModulusPack(object):
+class FakeModulusPack:
P = 0xFFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7EDEE386BFB5A899FA5AE9F24117C4B1FE649286651ECE65381FFFFFFFFFFFFFFFF # noqa
G = 2
@@ -88,7 +88,7 @@ class FakeModulusPack(object):
return self.G, self.P
-class FakeTransport(object):
+class FakeTransport:
local_version = "SSH-2.0-paramiko_1.0"
remote_version = "SSH-2.0-lame"
local_kex_init = "local-kex-init"