Commit 02f30a4b authored by Terry Jan Reedy's avatar Terry Jan Reedy

Issue #12037: Fix test_email for desktop Windows.

parent 9f1113f0
......@@ -180,8 +180,8 @@ class TestMessageAPI(TestEmailBase):
def test_byte_message_rfc822_only(self):
# Make sure new bytes header parser also passes this.
with openfile('msg_46.txt', 'rb') as fp:
msgdata = fp.read()
with openfile('msg_46.txt') as fp:
msgdata = fp.read().encode('ascii')
parser = email.parser.BytesHeaderParser()
msg = parser.parsebytes(msgdata)
out = BytesIO()
......
......@@ -314,6 +314,8 @@ IDLE
Tests
-----
- Issue #12037: Fix test_email for desktop Windows.
- Issue #15507: test_subprocess's test_send_signal could fail if the test
runner were run in an environment where the process inherited an ignore
setting for SIGINT. Restore the SIGINT handler to the desired
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment