From 6cb5105b70ed932c42b573f32bc8bae35bea997a Mon Sep 17 00:00:00 2001 From: Adam Coddington Date: Sun, 30 Aug 2015 20:30:05 -0700 Subject: [PATCH] Disable specific test for Python 3.x. --- django_mailbox/tests/test_process_email.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/django_mailbox/tests/test_process_email.py b/django_mailbox/tests/test_process_email.py index b7f5308..e3d4778 100644 --- a/django_mailbox/tests/test_process_email.py +++ b/django_mailbox/tests/test_process_email.py @@ -61,6 +61,11 @@ class TestProcessEmail(EmailMessageTestCase): ) 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( 'message_with_not_decoded_attachment_header.eml', )