Skip to content

Commit b35d452

Browse files
committed
Don't assert 'https_handler.close()', just run it
1 parent f0284f1 commit b35d452

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/util/test_logging.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,4 +67,5 @@ def test_https_handler(
6767
timeout=5,
6868
)
6969

70-
assert https_handler.close() is None
70+
# Close the handler thread
71+
https_handler.close()

0 commit comments

Comments
 (0)