summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--paramiko/__init__.py2
-rw-r--r--tests/test_channelfile.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/paramiko/__init__.py b/paramiko/__init__.py
index ebfa72a8..6afc7a61 100644
--- a/paramiko/__init__.py
+++ b/paramiko/__init__.py
@@ -29,7 +29,7 @@ from paramiko.client import (
)
from paramiko.auth_handler import AuthHandler
from paramiko.ssh_gss import GSSAuth, GSS_AUTH_AVAILABLE, GSS_EXCEPTIONS
-from paramiko.channel import Channel, ChannelFile
+from paramiko.channel import Channel, ChannelFile, ChannelStderrFile
from paramiko.ssh_exception import (
SSHException,
PasswordRequiredException,
diff --git a/tests/test_channelfile.py b/tests/test_channelfile.py
index f8cfe473..6faf8bf8 100644
--- a/tests/test_channelfile.py
+++ b/tests/test_channelfile.py
@@ -1,6 +1,6 @@
from mock import patch, MagicMock
-from paramiko import Channel, ChannelFile
+from paramiko import Channel, ChannelFile, ChannelStderrFile
class TestChannelFile(object):
@@ -27,7 +27,7 @@ class TestChannelFile(object):
chan.sendall.assert_called_once_with(b"ohai")
-def TestChannelStderrFile(object):
+class TestChannelStderrFile(object):
def test_read_calls_channel_recv_stderr(self):
chan = MagicMock()
cf = ChannelStderrFile(chan)