File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -180,8 +180,8 @@ def test_message_rfc822_only(self):
180180
181181 def test_byte_message_rfc822_only (self ):
182182 # Make sure new bytes header parser also passes this.
183- with openfile ('msg_46.txt' , 'rb' ) as fp :
184- msgdata = fp .read ()
183+ with openfile ('msg_46.txt' ) as fp :
184+ msgdata = fp .read (). encode ( 'ascii' )
185185 parser = email .parser .BytesHeaderParser ()
186186 msg = parser .parsebytes (msgdata )
187187 out = BytesIO ()
Original file line number Diff line number Diff line change 314314Tests
315315-----
316316
317+ - Issue #12037: Fix test_email for desktop Windows.
318+
317319- Issue #15507: test_subprocess's test_send_signal could fail if the test
318320 runner were run in an environment where the process inherited an ignore
319321 setting for SIGINT. Restore the SIGINT handler to the desired
You can’t perform that action at this time.
0 commit comments