Skip to content
Snippets Groups Projects
Commit 9bf65d1b authored by Yuya Nishihara's avatar Yuya Nishihara
Browse files

py3: fix string issues of email message in test-import.t

- payload can be bytes
- headers must be unicode on Python 3
- need to call msg.as_bytes() on Python 3, but msg.as_string() on Python 2,
  where bytes(msg) magic works
parent abd9f5ec
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment