diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2008-03-23 03:43:33 +0000 |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2008-03-23 03:43:33 +0000 |
commit | 1f2995b014f609c01f42aaa1409c5c7757b9641c (patch) | |
tree | 7d178ddd759cb4087f879f2940c056e551185e52 /Python/errors.c | |
parent | e70bb8d6f25b5e9aa0b3221943e302392023d164 (diff) | |
download | cpython-git-1f2995b014f609c01f42aaa1409c5c7757b9641c.tar.gz |
Try to make this test a little more robust and not fail with:
timeout (10.0025) is more than 2 seconds more than expected (0.001)
I'm assuming this problem is caused by DNS lookup. This change
does a DNS lookup of the hostname before trying to connect, so the time
is not included.
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions