diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2023-01-09 22:47:21 -0500 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2023-01-09 23:26:00 -0500 |
commit | 9e83ca9d8acb5e9d41d45d46a0339e2f633e2dea (patch) | |
tree | 6cb926091b66800f98e75bff931db836bda7a4be /tests | |
parent | 7b8106e67c51e71fc4074f7851bbaebed4d5be0c (diff) |
Move b, u helpers to util module for now
Later on we can likely nuke many uses of these
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_agent.py | 2 | ||||
-rw-r--r-- | tests/test_auth.py | 2 | ||||
-rw-r--r-- | tests/test_pkey.py | 3 |
3 files changed, 4 insertions, 3 deletions
diff --git a/tests/test_agent.py b/tests/test_agent.py index c3973bbb..01602d0e 100644 --- a/tests/test_agent.py +++ b/tests/test_agent.py @@ -8,7 +8,7 @@ from paramiko.agent import ( SSH_AGENT_RSA_SHA2_512, AgentKey, ) -from paramiko.py3compat import b +from paramiko.util import b class ChaosAgent: diff --git a/tests/test_auth.py b/tests/test_auth.py index 0f0a6169..4a960deb 100644 --- a/tests/test_auth.py +++ b/tests/test_auth.py @@ -35,7 +35,7 @@ from paramiko import ( AuthenticationException, ) from paramiko import AUTH_FAILED, AUTH_PARTIALLY_SUCCESSFUL, AUTH_SUCCESSFUL -from paramiko.py3compat import u +from paramiko.util import u from .loop import LoopSocket from .util import _support, slow diff --git a/tests/test_pkey.py b/tests/test_pkey.py index 1ed021f9..604bbfa6 100644 --- a/tests/test_pkey.py +++ b/tests/test_pkey.py @@ -37,7 +37,8 @@ from paramiko import ( util, SSHException, ) -from paramiko.py3compat import b, bytes +from paramiko.py3compat import bytes +from paramiko.util import b from paramiko.common import o600, byte_chr from cryptography.exceptions import UnsupportedAlgorithm |