summaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2019-08-27 18:16:51 -0400
committerJeff Forcier <jeff@bitprophet.org>2019-08-27 18:19:57 -0400
commit192fd67514a22394c8f24ded1d00429d97a92cc8 (patch)
treef029e4a6c5a0272abd0c50efeb90f2bb013df1f4 /tests
parent12e78edba3048eb2c60eb5631bce7d759c1a9b91 (diff)
Somehow failed to flake/blacken previously
Diffstat (limited to 'tests')
-rw-r--r--tests/test_config.py1
-rw-r--r--tests/test_proxy.py2
2 files changed, 1 insertions, 2 deletions
diff --git a/tests/test_config.py b/tests/test_config.py
index 7d7a169f..57dda537 100644
--- a/tests/test_config.py
+++ b/tests/test_config.py
@@ -3,7 +3,6 @@
from os.path import expanduser
-import pytest
from pytest import raises, mark
from paramiko import SSHConfig, SSHConfigDict
diff --git a/tests/test_proxy.py b/tests/test_proxy.py
index ef4a2a36..9d707a4a 100644
--- a/tests/test_proxy.py
+++ b/tests/test_proxy.py
@@ -78,7 +78,7 @@ class TestProxyCommand(object):
os_read.side_effect = socket.timeout
proxy = ProxyCommand("hi")
with raises(socket.timeout):
- data = proxy.recv(5)
+ proxy.recv(5)
assert os_read.call_args[0] == (fileno, 5)
@patch("paramiko.proxy.subprocess.Popen")