summaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2019-06-14 20:46:44 -0400
committerJeff Forcier <jeff@bitprophet.org>2019-06-14 20:46:44 -0400
commit0ba86b0813d57c0f7500d41265d1bef0076ae125 (patch)
treea934204a213abfa51ba86a6197f3e97fcc1f5802 /tests
parent04505d5ead61d0aea866c36a89d3fbfb786b3206 (diff)
flake8, blacken
Diffstat (limited to 'tests')
-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 707a49c0..4448fdfb 100644
--- a/tests/test_channelfile.py
+++ b/tests/test_channelfile.py
@@ -6,12 +6,12 @@ from paramiko import Channel, ChannelFile, ChannelStderrFile, ChannelStdinFile
class ChannelFileBase(object):
@patch("paramiko.channel.ChannelFile._set_mode")
def test_defaults_to_unbuffered_reading(self, setmode):
- cf = self.klass(Channel(None))
+ self.klass(Channel(None))
setmode.assert_called_once_with("r", -1)
@patch("paramiko.channel.ChannelFile._set_mode")
def test_can_override_mode_and_bufsize(self, setmode):
- cf = self.klass(Channel(None), mode="w", bufsize=25)
+ self.klass(Channel(None), mode="w", bufsize=25)
setmode.assert_called_once_with("w", 25)
def test_read_recvs_from_channel(self):