unittest2: backport of the new features in unittest for Python 2.7

Michael Foord michael at voidspace.org.uk
Mon Mar 1 00:51:32 CET 2010

In Python 2.7 and 3.2 a whole bunch of improvements to unittest will 
arrive. ``unittest2`` is a backport of the new features (and tests)
to work with Python 2.4, 2.5 & 2.6. The major changes include new assert 
methods, clean up functions, assertRaises as a context manager, new 
command line features, test discovery and the ``load_tests`` protocol.

* The unittest2 Library: http://pypi.python.org/pypi/unittest2
* New and Improved: unittest2 article 
* Mercurial Development Repository: <http://hg.python.org/unittest2

All the best,


More information about the Python-announce-list mailing list