]> granicus.if.org Git - python/commit
Backport r58453:
authorNeal Norwitz <nnorwitz@gmail.com>
Sun, 27 Jan 2008 01:24:44 +0000 (01:24 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Sun, 27 Jan 2008 01:24:44 +0000 (01:24 +0000)
commitab577c1b32a09348aa0470df00cd4865b9e28a31
treed4dc328d640f3b5129c61da6fbe72a8f77976ec5
parentb03528ca206f55071e5aaf1acfa26665bcfec473
Backport r58453:
Let the O/S supply a port if none of the default ports can be used.
This should make the tests more robust at the expense of allowing
tests to be sloppier by not requiring them to cleanup after themselves.
(It will legitamitely help when running two test suites simultaneously
or if another process is already using one of the predefined ports.)

This will hopefully fix test_asynchat.
Lib/test/test_support.py