This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author paul.moore
Recipients brian.curtin, exarkun, paul.moore, pitrou, tim.golden
Date 2010-04-30.16:30:28
SpamBayes Score 0.044207487
Marked as misclassified No
Message-id <1272645031.52.0.704390831849.issue8576@psf.upfronthosting.co.za>
In-reply-to
Content
OK. I've attached a patch which removes the use of get_unused_port for test_smtplib and test_multiprocessing. It doesn't use bind_port as both cases test classes that create their own port internally, rather I've used port 0 and then introspected the actual port assigned.

The same process could probably be used for the remaining uses of get_unused_port, but I haven't tackled them yet.

Tested on my local PC and on the buildbot where I see the bug. Both tests run fine in both cases. I'm running the full test suite now.
History
Date User Action Args
2010-04-30 16:30:31paul.mooresetrecipients: + paul.moore, exarkun, pitrou, tim.golden, brian.curtin
2010-04-30 16:30:31paul.mooresetmessageid: <1272645031.52.0.704390831849.issue8576@psf.upfronthosting.co.za>
2010-04-30 16:30:30paul.moorelinkissue8576 messages
2010-04-30 16:30:29paul.moorecreate