[Python-Dev] Merge unittest.py fixes to 2.3 maintenance branch?

Aahz aahz at pythoncraft.com
Tue Sep 23 10:09:31 EDT 2003

On Tue, Sep 23, 2003, Steve Purcell wrote:
> Most significant changes are:
> - Fixed loading of tests by name when name refers to unbound
>   method (PyUnit issue 563882, thanks to Alexandre Fayolle)
> - Ignore non-callable attributes of classes when searching for test
>   method names (PyUnit issue 769338, thanks to Seth Falcon)

These two are probably okay to port back (though too late for 2.3.1).

> - New assertTrue and assertFalse aliases for comfort of JUnit users
> - Automatically discover 'runTest()' test methods (PyUnit issue 469444,
>   thanks to Roeland Rengelink)
> - Dropped Python 1.5.2 compatibility, merged appropriate shortcuts from
>   Python CVS; should work with Python >= 2.1.
> - Removed all references to string module by using string methods instead

These should wait on 2.4.
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"It is easier to optimize correct code than to correct optimized code."
--Bill Harlan

More information about the Python-Dev mailing list