Skip to content

Commit d0dc3c0

Browse files
committed
fix: correct formatting in email test cases and NEWS entry
1 parent 0a5f379 commit d0dc3c0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Lib/test/test_email/test_message.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1009,7 +1009,7 @@ def test_no_wrapping_with_zero_max_line_length(self):
10091009
subj = "S" * 100
10101010
msg = EmailMessage(policy=pol)
10111011
msg["From"] = "[email protected]"
1012-
msg["To"] = "[email protected]"
1012+
msg["To"] = "[email protected]"
10131013
msg["Subject"] = subj
10141014

10151015
raw = msg.as_bytes()
@@ -1024,7 +1024,7 @@ def test_no_wrapping_with_none_max_line_length(self):
10241024
body = "B" * 100
10251025
msg = EmailMessage(policy=pol)
10261026
msg["From"] = "[email protected]"
1027-
msg["To"] = "[email protected]"
1027+
msg["To"] = "[email protected]"
10281028
msg["Subject"] = subj
10291029
msg.set_content(body)
10301030

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
:mod:`email`: Ensure policy accepts unlimited line lengths by
2-
treating 0 or :const:`None` as :data:`sys.maxsize`
2+
treating 0 or :const:`None` as :data:`sys.maxsize`.

0 commit comments

Comments
 (0)