Skip to content
This repository was archived by the owner on Jan 13, 2021. It is now read-only.

Commit b4000ca

Browse files
committed
No need to check socket closure here and dont forget to tear down testing thread
1 parent 088af1c commit b4000ca

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/test_integration.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,8 @@ def socket_handler(listener):
491491
assert r.headers[b'content-type'] == [b'not/real']
492492

493493
assert r.read() == b'nsaislistening'
494-
assert c._sock is None
494+
495+
self.tear_down()
495496

496497
class TestRequestsAdapter(SocketLevelTest):
497498
# This uses HTTP/2.

0 commit comments

Comments
 (0)