You might want to review this change as it's my first time. Be gentle. :-)
the test_smtplib.py file, with a basic test and the timeout ones. Docs are updated too.