[issue11748] test_ftplib failure in test for source_address

Jessica McKellar report at bugs.python.org
Sat Apr 19 07:31:11 CEST 2014


Jessica McKellar added the comment:

Antoine, thanks for the patch, and Giampaolo, thanks for the ping.

I confirmed that http://hg.python.org/cpython/rev/8a2d848244a2 does address the issue:

Before the patch, if another process bound to the port selected for the test before the test ran, the test would error out.

After the patch, if this race happens the test is skipped instead.

Anecdotally from local tests and from looking at recent buildbot builds, the test does generally run (so we don't have a problem with it skipping all the time and the behavior not getting tested).

=> Closing as resolved.

----------
nosy: +jesstess
resolution:  -> fixed
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11748>
_______________________________________


More information about the Python-bugs-list mailing list