Issue #6916: Use assertWarns in test_asynchat.
1 file changed