[New-bugs-announce] [issue16079] list duplicate test names with patchcheck

Xavier de Gaye report at bugs.python.org
Fri Sep 28 12:15:38 CEST 2012

New submission from Xavier de Gaye:

See also issue 16056 for the current list of duplicate test names in
the std lib.

The attached patch improves patchcheck.py to list duplicate test
names when running 'make patchcheck'. This patch to the default
branch can also be applied asis to the 2.7 branch.

An example of patchcheck output with the patch applied:

$ make patchcheck
./python ./Tools/scripts/patchcheck.py
Getting the list of files that have been added/changed ... 1 file
Fixing whitespace ... 0 files
Fixing C file whitespace ... 0 files
Fixing docs whitespace ... 0 files
Duplicate test names ... 1 test:
  TestErrorHandling.test_get_only in file Lib/test/test_heapq.py
Docs modified ... NO
Misc/ACKS updated ... NO
Misc/NEWS updated ... NO
configure regenerated ... not needed
pyconfig.h.in regenerated ... not needed

Did you run the test suite?


components: Library (Lib)
files: duplicate_test_names.patch
keywords: patch
messages: 171428
nosy: chris.jerdonek, ezio.melotti, xdegaye
priority: normal
severity: normal
status: open
title: list duplicate test names with patchcheck
type: enhancement
versions: Python 2.7, Python 3.2, Python 3.3
Added file: http://bugs.python.org/file27326/duplicate_test_names.patch

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list