[Python-checkins] [python/cpython] 9fb061: Fix test_ftplib warning if IPv6 is not available (...
GitHub
noreply at github.com
Thu May 4 12:10:32 EDT 2017
Branch: refs/heads/2.7
Home: https://github.com/python/cpython
Commit: 9fb061ba9ca6021055ca5a9bac193aeb1211aba0
https://github.com/python/cpython/commit/9fb061ba9ca6021055ca5a9bac193aeb1211aba0
Author: Victor Stinner <victor.stinner at gmail.com>
Date: 2017-05-04 (Thu, 04 May 2017)
Changed paths:
M Lib/test/test_ftplib.py
Log Message:
-----------
Fix test_ftplib warning if IPv6 is not available (#1457)
DummyFTPServer now calls del_channel() on bind() error to prevent the
following warning in TestIPv6Environment.setUpClass():
Warning -- asyncore.socket_map was modified by test_ftplib
Before: {}
After: {3: <test.test_ftplib.DummyFTPServer 127.0.0.1:0 at ...>}
More information about the Python-checkins
mailing list