summaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_agent.py2
-rw-r--r--tests/test_auth.py2
-rw-r--r--tests/test_pkey.py3
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