1
0
Fork 1
mirror of https://github.com/coddingtonbear/django-mailbox.git synced 2026-07-09 22:38:19 +02:00

Update base.py

This commit is contained in:
Adam Dobrawy 2016-04-09 23:10:11 +02:00
parent 22c2f01e90
commit 0a532bbf53

View file

@ -59,7 +59,7 @@ class EmailMessageTestCase(TestCase):
time.sleep(5)
def _get_email_object(self, name):
with open(join(dirname(__file__), 'messages', name), 'rb') as f:
with open(join(dirname(__file__), 'messages', name), 'r') as f:
if six.PY3:
return email.message_from_binary_file(f)
else: