Skip to content

Commit 29d8166

Browse files
Remove unnecessary comments from test cases
1 parent 55fa703 commit 29d8166

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

Lib/test/test_smtplib.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,18 +78,13 @@ def testQuoteData(self):
7878
self.assertEqual(expected, smtplib.quotedata(teststr))
7979

8080
def testQuoteAddr(self):
81-
# Standard address is wrapped in angle brackets.
8281
self.assertEqual(smtplib.quoteaddr('user@example.com'),
8382
'<user@example.com>')
84-
# Already angle-bracketed and valid.
8583
self.assertEqual(smtplib.quoteaddr('<user@example.com>'),
8684
'<user@example.com>')
87-
# Empty string produces empty angle brackets.
8885
self.assertEqual(smtplib.quoteaddr(''), '<>')
8986

9087
def testQuoteAddrMalformedAngleBracket(self):
91-
# Inputs starting with '<' but missing closing '>' must still
92-
# produce output that ends with '>'.
9388
result = smtplib.quoteaddr('<')
9489
self.assertTrue(result.startswith('<') and result.endswith('>'), result)
9590
result = smtplib.quoteaddr('< ')

0 commit comments

Comments
 (0)