1
0
Fork 0

Disable specific test for Python 3.x.

This commit is contained in:
Adam Coddington 2015-08-30 20:30:05 -07:00
parent c6ef5058e8
commit 6cb5105b70

View file

@ -61,6 +61,11 @@ class TestProcessEmail(EmailMessageTestCase):
) )
def test_message_with_not_decoded_attachment_header(self): def test_message_with_not_decoded_attachment_header(self):
if sys.version_info > (3, 0):
self.skipTest(
"This test is only relevant on Python 2.x."
)
email_object = self._get_email_object( email_object = self._get_email_object(
'message_with_not_decoded_attachment_header.eml', 'message_with_not_decoded_attachment_header.eml',
) )