Home
last modified time | relevance | path

Searched refs:get_charset (Results 1 – 8 of 8) sorted by relevance

/external/python/cpython2/Lib/email/test/
Dtest_email.py89 eq(msg.get_charset(), None)
97 eq(msg.get_charset().input_charset, 'iso-8859-1')
100 eq(msg.get_charset(), None)
116 eq(msg.get_charset().input_charset, 'us-ascii')
123 self.assertEqual(msg.get_charset().input_charset, 'iso-8859-1')
1092 eq(msg.get_charset().input_charset, 'us-ascii')
1098 eq(msg.get_charset().input_charset, 'us-ascii')
1104 eq(msg.get_charset(), 'us-ascii')
1112 eq(msg.get_charset().output_charset, 'utf-8')
Dtest_email_renamed.py84 eq(msg.get_charset(), None)
92 eq(msg.get_charset().input_charset, 'iso-8859-1')
95 eq(msg.get_charset(), None)
111 eq(msg.get_charset().input_charset, 'us-ascii')
118 self.assertEqual(msg.get_charset().input_charset, 'iso-8859-1')
1052 eq(msg.get_charset().input_charset, 'us-ascii')
/external/python/cpython3/Lib/test/
Dtest_httplib.py1885 self.assertIsNone(message.get_charset())
1893 self.assertIsNone(message.get_charset())
1901 self.assertIsNone(message.get_charset())
1913 self.assertIsNone(message.get_charset())
1928 self.assertIsNone(message.get_charset())
/external/python/cpython3/Lib/test/test_email/
Dtest_email.py63 eq(msg.get_charset(), None)
71 eq(msg.get_charset().input_charset, 'iso-8859-1')
74 eq(msg.get_charset(), None)
90 eq(msg.get_charset().input_charset, 'us-ascii')
97 self.assertEqual(msg.get_charset().input_charset, 'iso-8859-1')
1707 eq(msg.get_charset().input_charset, 'us-ascii')
1713 eq(msg.get_charset().input_charset, 'utf-8')
1720 eq(msg.get_charset().input_charset, 'us-ascii')
1726 eq(msg.get_charset(), 'us-ascii')
1734 eq(msg.get_charset().output_charset, 'utf-8')
/external/python/cpython2/Lib/email/
Dmessage.py273 def get_charset(self): member in Message
/external/python/cpython3/Lib/email/
Dmessage.py370 def get_charset(self): member in Message
/external/python/cpython2/Doc/library/
Demail.message.rst164 .. method:: get_charset()
514 Note that this method differs from :meth:`get_charset` which returns the
/external/python/cpython3/Doc/library/
Demail.compat32-message.rst272 .. method:: get_charset()
625 Note that this method differs from :meth:`get_charset` which returns the