summaryrefslogtreecommitdiffhomepage
path: root/tests/test_pkey.py
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2023-01-09 23:03:00 -0500
committerJeff Forcier <jeff@bitprophet.org>2023-01-09 23:26:00 -0500
commit59cbe823919b567c588e23ca2a090d1b564b1b97 (patch)
treecdf2c7fdcd4510074b46199b4001e7bd5cfe931a /tests/test_pkey.py
parentbcfda6bba1a3538a135e17c2f8c3bb5786938412 (diff)
py3compat.bytes -> builtin or literal depending
Diffstat (limited to 'tests/test_pkey.py')
-rw-r--r--tests/test_pkey.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test_pkey.py b/tests/test_pkey.py
index 604bbfa6..166cbe32 100644
--- a/tests/test_pkey.py
+++ b/tests/test_pkey.py
@@ -37,7 +37,6 @@ from paramiko import (
util,
SSHException,
)
-from paramiko.py3compat import bytes
from paramiko.util import b
from paramiko.common import o600, byte_chr
@@ -254,7 +253,7 @@ class KeyTest(unittest.TestCase):
assert isinstance(msg, Message)
msg.rewind()
assert msg.get_text() == algorithm
- expected = bytes().join(
+ expected = b"".join(
[byte_chr(int(x, 16)) for x in saved_sig.split(":")]
)
assert msg.get_binary() == expected