[issue16079] list duplicate test names with patchcheck

Ezio Melotti report at bugs.python.org
Fri Sep 28 19:31:27 CEST 2012


Ezio Melotti added the comment:

> I would like to see this written in a way that would let one
> run it globally or on a single file independent of a patch

+1
It can be added to Tools/scripts and imported by patchcheck.

> I'm pretty sure we have some tests that don't start with 'test_'.

IIRC those are just test helpers that are not executed directly.
OTOH I don't see why looking for test_*, every py file might contain duplicate names so they should all be checked.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16079>
_______________________________________


More information about the Python-bugs-list mailing list