Xavier de Gaye <xdeg...@gmail.com> added the comment:
Upgrading the script to account for Python changes. This is now duplicate_code_names_3.py $ ./python ./duplicate_code_names_3.py --ignore ignored_duplicates Lib/test Duplicate method names: Lib/test/test_dataclasses.py:1406 TestCase.test_helper_asdict_builtin_containers Lib/test/test_dataclasses.py:1579 TestCase.test_helper_astuple_builtin_containers Lib/test/test_dataclasses.py:700 TestCase.test_not_tuple Lib/test/test_dataclasses.py:3245 TestReplace.test_recursive_repr_two_attrs Lib/test/test_genericclass.py:161 TestClassGetitem.test_class_getitem Lib/test/test_gzip.py:764 TestCommandLine.test_compress_infile_outfile Lib/test/test_heapq.py:376 TestErrorHandling.test_get_only Lib/test/test_importlib/test_util.py:755 PEP3147Tests.test_source_from_cache_path_like_arg Lib/test/test_logging.py:328 BuiltinLevelsTest.test_regression_29220 Lib/test/test_sys_setprofile.py:363 ProfileSimulatorTestCase.test_unbound_method_invalid_args Lib/test/test_sys_setprofile.py:354 ProfileSimulatorTestCase.test_unbound_method_no_args Lib/test/test_utf8_mode.py:198 UTF8ModeTests.test_io_encoding False positives have been removed from the output of the above command and so, all the above methods are effectively duplicates that must be fixed. ---------- Added file: https://bugs.python.org/file48265/duplicate_code_names_3.py _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue16079> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com