Home
last modified time | relevance | path

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

/aosp_15_r20/external/python/cpython3/Lib/test/test_email/
Dtest_email.py4571 def _test_encode(self, body, expected_encoded_body, maxlinelen=None, eol=None): member in TestQuopri
4592 self._test_encode('', '')
4595 self._test_encode('\n\n', '\n\n')
4598 self._test_encode('hello\n', 'hello\n')
4601 self._test_encode('hello\r\n', 'hello\n')
4604 self._test_encode('hello\n', 'hello\r\n', eol='\r\n')
4608 self._test_encode('hello\u03c5\n'.encode('utf-8').decode('latin1'),
4612 self._test_encode(' ', '=20')
4615 self._test_encode(' \n', '=20\n')
4623 self._test_encode(' \n \n', '=20\n=20\n')
[all …]