Merged revisions 80359 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r80359 | ezio.melotti | 2010-04-22 14:57:12 +0300 (Thu, 22 Apr 2010) | 9 lines 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
ba47a37194
commit
c30bb7d5ca
|
@ -516,10 +516,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