summaryrefslogtreecommitdiffhomepage
path: root/tests/_util.py
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2023-12-15 22:19:04 -0500
committerJeff Forcier <jeff@bitprophet.org>2023-12-15 22:19:04 -0500
commit8f1b3d25d507997fd150fadb6607eaf09052d5c0 (patch)
tree066c6d412c54227f5b05f9c9ae0a874264d38674 /tests/_util.py
parent01e77a525525f430b0e15569ee4643070174326c (diff)
parentbe3ffc18cc466e0b0a877d716721353c12561bcc (diff)
Merge branch '3.2' into 3.3
Diffstat (limited to 'tests/_util.py')
-rw-r--r--tests/_util.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/_util.py b/tests/_util.py
index ec7585df..acc06852 100644
--- a/tests/_util.py
+++ b/tests/_util.py
@@ -352,6 +352,9 @@ def server(
"""
SSH server contextmanager for testing.
+ Yields a tuple of ``(tc, ts)`` (client- and server-side `Transport`
+ objects), or ``(tc, ts, err)`` when ``catch_error==True``.
+
:param hostkey:
Host key to use for the server; if None, loads
``rsa.key``.