Skip to content

Commit 38e6381

Browse files
committed
Tiny update for test case for better readability
1 parent 603ff74 commit 38e6381

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Lib/test/test_email/test_message.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1010,8 +1010,9 @@ def test_no_wrapping_max_line_length(self):
10101010
with self.subTest(max_line_length=n):
10111011
self.do_test_no_wrapping_max_line_length(n)
10121012

1013-
def do_test_no_wrapping_max_line_length(self, n):
1014-
pol = policy.default.clone(max_line_length=n)
1013+
def do_test_no_wrapping_max_line_length(self, falsey):
1014+
self.assertFalse(falsey)
1015+
pol = policy.default.clone(max_line_length=falsey)
10151016
subj = "S" * 100
10161017
body = "B" * 100
10171018
msg = EmailMessage(policy=pol)

0 commit comments

Comments
 (0)