Skip to content

Commit 5736d59

Browse files
committed
gh-150771: Use Unicode escapes in bytes(m) test expectations
Match cp949 test style per review feedback.
1 parent 8692456 commit 5736d59

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Lib/test/test_email/test_contentmanager.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ def test_set_text_charset_shift_jis(self):
379379
Content-Type: text/plain; charset="iso-2022-jp"
380380
Content-Transfer-Encoding: 7bit
381381
382-
\x1b$BF|K\\8l\x1b(B
382+
\u65e5\u672c\u8a9e
383383
""").encode('iso-2022-jp'))
384384

385385
def test_set_text_charset_euc_jp(self):
@@ -399,7 +399,7 @@ def test_set_text_charset_euc_jp(self):
399399
Content-Type: text/plain; charset="iso-2022-jp"
400400
Content-Transfer-Encoding: 7bit
401401
402-
\x1b$BF|K\\8l\x1b(B
402+
\u65e5\u672c\u8a9e
403403
""").encode('iso-2022-jp'))
404404

405405
def test_set_text_plain_long_line_heuristics(self):

0 commit comments

Comments
 (0)