From 8e1e0471914b39da0634a23c4231ce98021a4cf7 Mon Sep 17 00:00:00 2001 From: Andrei Zeliankou Date: Tue, 11 Oct 2022 13:49:10 +0100 Subject: Tests: don't try to return response when "no_recv" is True. --- test/test_routing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/test_routing.py') diff --git a/test/test_routing.py b/test/test_routing.py index 0d7b908c..9e872061 100644 --- a/test/test_routing.py +++ b/test/test_routing.py @@ -1485,7 +1485,7 @@ class TestRouting(TestApplicationPython): def test_routes_source_port(self): def sock_port(): - _, sock = self.http(b'', start=True, raw=True, no_recv=True) + sock = self.http(b'', raw=True, no_recv=True) port = sock.getsockname()[1] return (sock, port) -- cgit