bpo-30818: test_ftplib calls asyncore.close_all() (#2514)
Always clear asyncore socket map using
asyncore.close_all(ignore_all=True) in tearDown() method.
This change should fix this warning:
Warning -- asyncore.socket_map was modified by test_ftplib
Before: {}
After: {4: <test.test_ftplib.DummyTLS_FTPServer 127.0.0.1:0 at 0x805feccf0>} V
Victor Stinner committed
73528640ffd872141e126d2c4a103126055ec9ce
Parent: 45dba3a
Committed by GitHub <noreply@github.com>
on 6/30/2017, 3:36:57 PM