#18505: fix duplicate name and remove duplicate test. Patch by Vajrasky Kok.

This commit is contained in:
Ezio Melotti 2013-08-10 18:57:12 +03:00
parent 2af76da7b4
commit 1c4810b57b
1 changed files with 1 additions and 4 deletions

View File

@ -926,7 +926,7 @@ Subject: the first part of this is short,
This is a long line that has two whitespaces in a row. This used to cause
truncation of the header when folded""")
def test_splitter_split_on_punctuation_only_if_fws(self):
def test_splitter_split_on_punctuation_only_if_fws_with_header(self):
eq = self.ndiffAssertEqual
h = Header('thisverylongheaderhas;semicolons;and,commas,but'
'they;arenotlegal;fold,points')
@ -4214,9 +4214,6 @@ class TestQuopri(unittest.TestCase):
self._test_encode('x' * 200 + '\n',
2 * ('x' * 75 + '=\n') + 'x' * 50 + '\n')
def test_encode_one_long_line(self):
self._test_encode('x' * 100 + '\n', 'x' * 75 + '=\n' + 'x' * 25 + '\n')
def test_encode_shortest_maxlinelen(self):
self._test_encode('=' * 5, '=3D=\n' * 4 + '=3D', maxlinelen=4)