diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2023-01-16 19:43:11 -0500 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2023-01-16 19:43:11 -0500 |
commit | e0c6a2c3cd84fd6b93fd4e28e3bc54dedb4b1dc3 (patch) | |
tree | 822f82a84cfa5867762ac4d313fd2187102917a0 /tests | |
parent | 8d52c334b8b99eb96094edb1b513b26f864eeabd (diff) | |
download | paramiko-e0c6a2c3cd84fd6b93fd4e28e3bc54dedb4b1dc3.tar.gz |
well that's just super()!
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_client.py | 2 | ||||
-rw-r--r-- | tests/test_gssapi.py | 2 | ||||
-rw-r--r-- | tests/test_transport.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_client.py b/tests/test_client.py index 3ff59b87..3dffa08e 100644 --- a/tests/test_client.py +++ b/tests/test_client.py @@ -62,7 +62,7 @@ class NullServer(paramiko.ServerInterface): self.__allowed_keys = kwargs.pop("allowed_keys", []) # And allow them to set a (single...meh) expected public blob (cert) self.__expected_public_blob = kwargs.pop("public_blob", None) - super(NullServer, self).__init__(*args, **kwargs) + super().__init__(*args, **kwargs) def get_allowed_auths(self, username): if username == "slowdive": diff --git a/tests/test_gssapi.py b/tests/test_gssapi.py index 23c3ef42..671f1ba0 100644 --- a/tests/test_gssapi.py +++ b/tests/test_gssapi.py @@ -37,7 +37,7 @@ from .util import needs_gssapi, KerberosTestCase, update_env @needs_gssapi class GSSAPITest(KerberosTestCase): def setUp(self): - super(GSSAPITest, self).setUp() + super().setUp() # TODO: these vars should all come from os.environ or whatever the # approved pytest method is for runtime-configuring test data. self.krb5_mech = "1.2.840.113554.1.2.2" diff --git a/tests/test_transport.py b/tests/test_transport.py index 841c67f1..4d28199a 100644 --- a/tests/test_transport.py +++ b/tests/test_transport.py @@ -903,7 +903,7 @@ class TransportTest(unittest.TestCase): class SlowPacketizer(Packetizer): def read_message(self): time.sleep(1) - return super(SlowPacketizer, self).read_message() + return super().read_message() # NOTE: prettttty sure since the replaced .packetizer Packetizer is now # no longer doing anything with its copy of the socket...everything'll |