[New-bugs-announce] [issue14442] test_smtplib.py lacks "import errno"

Pino Toscano report at bugs.python.org
Thu Mar 29 16:47:31 CEST 2012

New submission from Pino Toscano <toscano.pino at tiscali.it>:

In Lib/test/test_smtplib.py, there's a try ... except which checks the errno of the IOError exception; though, the errno module is not imported, eventually causing
| NameError: global name 'errno' is not defined
in such case.

components: Tests
messages: 157052
nosy: pino
priority: normal
severity: normal
status: open
title: test_smtplib.py lacks "import errno"
versions: Python 3.3

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list