Vajrasky Kok added the comment: Another unused variable in line 2268 on function test_bad_multipart:
def test_bad_multipart(self): eq = self.assertEqual msg1 = Message() msg1['Subject'] = 'subpart 1' msg2 = Message() msg2['Subject'] = 'subpart 2' r = MIMEMessage(msg1) self.assertRaises(errors.MultipartConversionError, r.attach, msg2) The variable eq is never used and can be removed. I have changed the title of the ticket to reflect the problem better. ---------- title: No assertion in test_del_param_on_nonexistent_header function -> No assertion in test_del_param_on_nonexistent_header function and unused variables in some places in test_email.py _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18503> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com