Merged revisions 80357 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r80357 | ezio.melotti | 2010-04-22 14:53:21 +0300 (Thu, 22 Apr 2010) | 1 line Rephrase comment. ........
This commit is contained in:
parent
5e001f65da
commit
c303c12160
|
@ -520,10 +520,10 @@ class TestEncoders(unittest.TestCase):
|
|||
|
||||
def test_default_cte(self):
|
||||
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')
|
||||
eq(msg['content-transfer-encoding'], '7bit')
|
||||
# Similar, but with 8-bit data
|
||||
# Similar, but with 8bit data
|
||||
msg = MIMEText('hello \xf8 world')
|
||||
eq(msg['content-transfer-encoding'], '8bit')
|
||||
# And now with a different charset
|
||||
|
|
Loading…
Reference in New Issue