[New-bugs-announce] [issue2423] test_smtplib.py no longer butt slow
Jerry Seutter
report at bugs.python.org
Wed Mar 19 15:50:49 CET 2008
New submission from Jerry Seutter <jseutter at gmail.com>:
Changes only affect test files.
test_smtplib.py before: 39.7s
test_smtplib.py after: 0.8s
socket.getfqdn() calls were causing all the slowness. Added a
mock_socket.py file to handle some tests. For other tests that tested
both server side and client side of the smtp libraries, mocked out
socket.getfqdn() only.
----------
components: Tests
files: test_smtplib_speedup.patch
keywords: patch, patch
messages: 64058
nosy: jseutter
priority: low
severity: normal
status: open
title: test_smtplib.py no longer butt slow
type: performance
versions: Python 2.6
Added file: http://bugs.python.org/file9766/test_smtplib_speedup.patch
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2423>
__________________________________
More information about the New-bugs-announce
mailing list