Pablo Galindo Salgado <pablog...@gmail.com> added the comment:

The TypeError is because the test is misusing the assertRaises API:

         self.assertRaises(smtplib.SMTPNotSupportedError,
                          smtp.send_message(msg))

should be 

         self.assertRaises(smtplib.SMTPNotSupportedError,
                          smtp.send_message, msg)

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue34246>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to