Kaydet (Commit) c30bb7d5 authored tarafından Ezio Melotti's avatar Ezio Melotti

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.
  ........
................
üst ba47a371
...@@ -516,10 +516,10 @@ class TestEncoders(unittest.TestCase): ...@@ -516,10 +516,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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment