[Python-checkins] [python/cpython] 735286: bpo-30818: test_ftplib calls asyncore.close_all() ...
GitHub
noreply at github.com
Fri Jun 30 11:36:59 EDT 2017
Branch: refs/heads/master
Home: https://github.com/python/cpython
Commit: 73528640ffd872141e126d2c4a103126055ec9ce
https://github.com/python/cpython/commit/73528640ffd872141e126d2c4a103126055ec9ce
Author: Victor Stinner <victor.stinner at 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>}
More information about the Python-checkins
mailing list