diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2023-01-16 19:03:36 -0500 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2023-01-16 19:38:17 -0500 |
commit | e993a986388b0ec44b109a03edd34937a51aa9a1 (patch) | |
tree | c7d898b9f03d4365de8f247fd5eccead08a194f8 /tests/test_ssh_gss.py | |
parent | 078c4b0fd7753f31e2f9c0c37979920a5df33098 (diff) | |
download | paramiko-e993a986388b0ec44b109a03edd34937a51aa9a1.tar.gz |
s/%/fstrings/g
Except in one spot where it was too complicated to bother for now XD
Diffstat (limited to 'tests/test_ssh_gss.py')
-rw-r--r-- | tests/test_ssh_gss.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_ssh_gss.py b/tests/test_ssh_gss.py index 4d171854..cff72f7a 100644 --- a/tests/test_ssh_gss.py +++ b/tests/test_ssh_gss.py @@ -106,7 +106,7 @@ class GSSAuthTest(KerberosTestCase): self.tc = paramiko.SSHClient() self.tc.set_missing_host_key_policy(paramiko.WarningPolicy()) self.tc.get_host_keys().add( - "[%s]:%d" % (self.addr, self.port), "ssh-rsa", public_host_key + f"[{self.addr}]:{self.port}", "ssh-rsa", public_host_key ) self.tc.connect( hostname=self.addr, |