From 61b1c65b143e0a2b63c3eecc9b3adde34857daec Mon Sep 17 00:00:00 2001 From: Michael J Gruber Date: Mon, 4 Feb 2019 18:01:39 +0100 Subject: restore lenient libmagic decoding 176cffcd ("refactor alot.db.utils.remove_cte", 2018-12-04) created a few problems with 8bit quoted-printable e-mails, see #1291 #1360. This commit restores the old libmagic fallback which did not cause this problem. --- tests/db/test_utils.py | 1 - 1 file changed, 1 deletion(-) (limited to 'tests') diff --git a/tests/db/test_utils.py b/tests/db/test_utils.py index 7d54741f..f6249542 100644 --- a/tests/db/test_utils.py +++ b/tests/db/test_utils.py @@ -711,7 +711,6 @@ class TestExtractBody(unittest.TestCase): self.assertEqual(actual, expected) - @unittest.expectedFailure def test_simple_utf8_file(self): mail = email.message_from_binary_file( open('tests/static/mail/utf8.eml', 'rb')) -- cgit v1.2.3