[Python-checkins] r58100 - python/trunk/Lib/test/test_ssl.py

Nick Coghlan ncoghlan at gmail.com
Tue Sep 11 16:52:41 CEST 2007


bill.janssen wrote:
> Author: bill.janssen
> Date: Tue Sep 11 01:41:24 2007
> New Revision: 58100
> 
> Modified:
>    python/trunk/Lib/test/test_ssl.py
> Log:
> A better way of finding an open port to test with.

Binding to port 0 tells the OS to find an open port for you (someone 
pointed out this trick a while back for some of the other standard 
library server tests)

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
---------------------------------------------------------------
             http://www.boredomandlaziness.org


More information about the Python-checkins mailing list