[issue22860] unittest TestProgram hard to extend

2014-11-20 Thread Michael Foord
Michael Foord added the comment: TestProgram is an abomination. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22860 ___ ___ Python-bugs-list

[issue22860] unittest TestProgram hard to extend

2014-11-14 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- nosy: +ezio.melotti, michael.foord ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22860 ___ ___

[issue22860] unittest TestProgram hard to extend

2014-11-13 Thread Robert Collins
New submission from Robert Collins: Some users of TestProgram would like to add options (e.g. testtools.run adds --list and --load-list) but there isn't a clean point to add them without bulk copying the implementation around. We likely need some extra extension points as well - one

[issue22860] unittest TestProgram hard to extend

2014-11-13 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22860 ___ ___ Python-bugs-list mailing

[issue22860] unittest TestProgram hard to extend

2014-11-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: For another example use case: https://github.com/numba/numba/blob/master/numba/tests/__init__.py#L22 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22860