mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Rephrase comment.
This commit is contained in:
parent
896c4777c6
commit
19c06739c5
1 changed files with 2 additions and 2 deletions
|
@ -554,10 +554,10 @@ class TestEncoders(unittest.TestCase):
|
||||||
|
|
||||||
def test_default_cte(self):
|
def test_default_cte(self):
|
||||||
eq = self.assertEqual
|
eq = self.assertEqual
|
||||||
# With no explicit _charset its us-ascii, and all are 7-bit
|
# 7bit data and the default us-ascii _charset
|
||||||
msg = MIMEText('hello world')
|
msg = MIMEText('hello world')
|
||||||
eq(msg['content-transfer-encoding'], '7bit')
|
eq(msg['content-transfer-encoding'], '7bit')
|
||||||
# Similar, but with 8-bit data
|
# Similar, but with 8bit data
|
||||||
msg = MIMEText('hello \xf8 world')
|
msg = MIMEText('hello \xf8 world')
|
||||||
eq(msg['content-transfer-encoding'], '8bit')
|
eq(msg['content-transfer-encoding'], '8bit')
|
||||||
# And now with a different charset
|
# And now with a different charset
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue