summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLucas Hoffmann <l-m-h@web.de>2017-08-21 23:20:42 +0200
committerLucas Hoffmann <l-m-h@web.de>2017-08-21 23:23:41 +0200
commitf475b96685686cb1f5597ac063de950f4efb0c85 (patch)
treeb9488e14ae0043245d5ddc95ac6791c58671a140 /tests
parent6ee21b330d369cc91a9ba99eb2ee010e9e19e624 (diff)
Use cStringIO.StringIO to fix #1132
This undoes a small subset of the changes from fa3dd1b04567c4ea03fa658c3838b569531c79f5 and thus fixes #1132. The io.BytesIO object was not able to handle the unicode header names that where returned by envelope.construct_mail, which in turn did just copy them from the envelope header.
Diffstat (limited to 'tests')
-rw-r--r--tests/helper_test.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/helper_test.py b/tests/helper_test.py
index 4cfe704d..62e37ed8 100644
--- a/tests/helper_test.py
+++ b/tests/helper_test.py
@@ -390,7 +390,6 @@ class TestEmailAsString(unittest.TestCase):
expected = '\r\n'
self.assertEqual(actual, expected)
- @unittest.expectedFailure
def test_empty_message_with_unicode_header(self):
"""Test if unicode header keys can be used in an email that is
converted to string with email_as_string()."""