Skip to content

Commit 8ee99a5

Browse files
committed
tubes/remote: Fix doctests
1 parent 63d885e commit 8ee99a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pwnlib/tubes/remote.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class remote(sock):
4040
>>> r = remote('127.0.0.1', 1)
4141
Traceback (most recent call last):
4242
...
43-
PwnlibException: Could not connect to 127.0.0.1 on port 1
43+
ConnectionRefusedError: [Errno 111] Connection refused
4444
4545
You can also use :meth:`.remote.fromsocket` to wrap an existing socket.
4646

0 commit comments

Comments
 (0)