From: Anthony Baxter Date: Wed, 8 Jun 2005 04:56:41 +0000 (+0000) Subject: fix broken (unexecuted) test X-Git-Tag: v2.4.2c1~197 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=53ff4de223bdb1d719d3981dacaf6c878b380ddc;p=thirdparty%2FPython%2Fcpython.git fix broken (unexecuted) test --- diff --git a/Lib/email/test/test_email.py b/Lib/email/test/test_email.py index b3a46e6753b9..2f184fd56111 100644 --- a/Lib/email/test/test_email.py +++ b/Lib/email/test/test_email.py @@ -892,9 +892,9 @@ class TestMIMEAudio(unittest.TestCase): payload = self._au.get_payload() self.assertEqual(base64.decodestring(payload), self._audiodata) - def checkSetMinor(self): + def test_checkSetMinor(self): au = MIMEAudio(self._audiodata, 'fish') - self.assertEqual(im.get_type(), 'audio/fish') + self.assertEqual(au.get_type(), 'audio/fish') def test_add_header(self): eq = self.assertEqual @@ -935,7 +935,7 @@ class TestMIMEImage(unittest.TestCase): payload = self._im.get_payload() self.assertEqual(base64.decodestring(payload), self._imgdata) - def checkSetMinor(self): + def test_checkSetMinor(self): im = MIMEImage(self._imgdata, 'fish') self.assertEqual(im.get_type(), 'image/fish')