summaryrefslogtreecommitdiffhomepage
path: root/tests/test_kex_gss.py
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2023-01-16 19:03:36 -0500
committerJeff Forcier <jeff@bitprophet.org>2023-01-16 19:38:17 -0500
commite993a986388b0ec44b109a03edd34937a51aa9a1 (patch)
treec7d898b9f03d4365de8f247fd5eccead08a194f8 /tests/test_kex_gss.py
parent078c4b0fd7753f31e2f9c0c37979920a5df33098 (diff)
s/%/fstrings/g
Except in one spot where it was too complicated to bother for now XD
Diffstat (limited to 'tests/test_kex_gss.py')
-rw-r--r--tests/test_kex_gss.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_kex_gss.py b/tests/test_kex_gss.py
index 26659ae3..d4868f4a 100644
--- a/tests/test_kex_gss.py
+++ b/tests/test_kex_gss.py
@@ -101,7 +101,7 @@ class GSSKexTest(KerberosTestCase):
self.tc = paramiko.SSHClient()
self.tc.get_host_keys().add(
- "[%s]:%d" % (self.hostname, self.port), "ssh-rsa", public_host_key
+ f"[{self.hostname}]:{self.port}", "ssh-rsa", public_host_key
)
self.tc.connect(
self.hostname,