summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2013-08-10 15:57:12 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2013-08-10 15:57:12 (GMT)
commit1c4810b57b78f531f272f550d91d29d99a6dd661 (patch)
treedb1833b8185ce0dddf9d098aefb26a3f9e5e74d9
parent2af76da7b4dae90f33ee1e87d10afc6506e9b2a5 (diff)
downloadcpython-1c4810b57b78f531f272f550d91d29d99a6dd661.zip
cpython-1c4810b57b78f531f272f550d91d29d99a6dd661.tar.gz
cpython-1c4810b57b78f531f272f550d91d29d99a6dd661.tar.bz2
#18505: fix duplicate name and remove duplicate test. Patch by Vajrasky Kok.
-rw-r--r--Lib/test/test_email/test_email.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/Lib/test/test_email/test_email.py b/Lib/test/test_email/test_email.py
index 4c82952..56be794 100644
--- a/Lib/test/test_email/test_email.py
+++ b/Lib/test/test_email/test_email.py
@@ -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)