diff options
| author | Victor Stinner <victor.stinner@gmail.com> | 2017-06-30 17:36:57 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-06-30 17:36:57 +0200 |
| commit | 73528640ffd872141e126d2c4a103126055ec9ce (patch) | |
| tree | 3aad4f755fad2d542fec3f1874d811777f6e553e /Lib/pty.py | |
| parent | 45dba3af50cfa359dc2e40abe4306bd0b11d1315 (diff) | |
| download | cpython-git-73528640ffd872141e126d2c4a103126055ec9ce.tar.gz | |
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>}
Diffstat (limited to 'Lib/pty.py')
0 files changed, 0 insertions, 0 deletions
