[python/cpython] 735286: bpo-30818: test_ftplib calls asyncore.close_all() ...

June 30, 2017
3:36 p.m.
Branch: refs/heads/master Home: https://github.com/python/cpython Commit: 73528640ffd872141e126d2c4a103126055ec9ce https://github.com/python/cpython/commit/73528640ffd872141e126d2c4a103126055... Author: Victor Stinner <victor.stinner@gmail.com> Date: 2017-06-30 (Fri, 30 Jun 2017) Changed paths: M Lib/test/test_ftplib.py Log Message: ----------- 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>}
2794
Age (days ago)
2794
Last active (days ago)
0 comments
1 participants
participants (1)
-
GitHub