New submission from Vajrasky Kok: In Lib/test/test_email/test_email.py,
Part 1: line 4210 and 4217 have same function name, which is test_encode_one_long_line. In fact, they have same function body! def test_encode_one_long_line(self): self._test_encode('x' * 100 + '\n', 'x' * 75 + '=\n' + 'x' * 25 + '\n') One of them can be removed. Part 2: line 928 and 1009 have same function name, which is test_splitter_split_on_punctuation_only_if_fws. This time, they have different function body and one of them (line 928) is overshadowed (not being executed by unit test) by the other. So we must rename one of them. ---------- components: Tests files: fix_duplicate_function_names.txt messages: 193366 nosy: r.david.murray, vajrasky priority: normal severity: normal status: open title: Duplicate function names in test_email.py versions: Python 3.4 Added file: http://bugs.python.org/file30981/fix_duplicate_function_names.txt _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18505> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com