summaryrefslogtreecommitdiffhomepage
path: root/tests/test_channelfile.py
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2023-01-16 19:40:31 -0500
committerJeff Forcier <jeff@bitprophet.org>2023-01-16 19:40:31 -0500
commit8d52c334b8b99eb96094edb1b513b26f864eeabd (patch)
tree43cba7b53cfb28277f546b09d1fd99aebc7f9e36 /tests/test_channelfile.py
parente993a986388b0ec44b109a03edd34937a51aa9a1 (diff)
No more (object)ions
Diffstat (limited to 'tests/test_channelfile.py')
-rw-r--r--tests/test_channelfile.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_channelfile.py b/tests/test_channelfile.py
index 65929416..e2b6306c 100644
--- a/tests/test_channelfile.py
+++ b/tests/test_channelfile.py
@@ -3,7 +3,7 @@ from unittest.mock import patch, MagicMock
from paramiko import Channel, ChannelFile, ChannelStderrFile, ChannelStdinFile
-class ChannelFileBase(object):
+class ChannelFileBase:
@patch("paramiko.channel.ChannelFile._set_mode")
def test_defaults_to_unbuffered_reading(self, setmode):
self.klass(Channel(None))
@@ -31,7 +31,7 @@ class TestChannelFile(ChannelFileBase):
klass = ChannelFile
-class TestChannelStderrFile(object):
+class TestChannelStderrFile:
def test_read_calls_channel_recv_stderr(self):
chan = MagicMock()
cf = ChannelStderrFile(chan)