diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2023-01-09 23:03:00 -0500 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2023-01-09 23:26:00 -0500 |
commit | 59cbe823919b567c588e23ca2a090d1b564b1b97 (patch) | |
tree | cdf2c7fdcd4510074b46199b4001e7bd5cfe931a /tests/test_transport.py | |
parent | bcfda6bba1a3538a135e17c2f8c3bb5786938412 (diff) |
py3compat.bytes -> builtin or literal depending
Diffstat (limited to 'tests/test_transport.py')
-rw-r--r-- | tests/test_transport.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test_transport.py b/tests/test_transport.py index 5263c038..b5a25cd5 100644 --- a/tests/test_transport.py +++ b/tests/test_transport.py @@ -59,7 +59,6 @@ from paramiko.common import ( cMSG_UNIMPLEMENTED, byte_chr, ) -from paramiko.py3compat import bytes from paramiko.message import Message from .util import needs_builtin, _support, requires_sha1_signing, slow @@ -468,7 +467,7 @@ class TransportTest(unittest.TestCase): self.assertEqual([chan], r) self.assertEqual([], w) self.assertEqual([], e) - self.assertEqual(bytes(), chan.recv(16)) + self.assertEqual(b"", chan.recv(16)) # make sure the pipe is still open for now... p = chan._pipe |