[Python-Dev] Adding test case methods to TestCase subclasses

Éric Araujo merwok at netwok.org
Fri Apr 15 19:32:18 CEST 2011


 Hi,

 I just wanted to clear a slight misunderstanding:

> How can composition add test cases detectable by Python 2's 
> ‘unittest’
> and Python 3's ‘unittest2’?

 The package shipped in the stdlib is named unittest in all Python
 versions.  The codebase that has seen a lot of improvements thanks to
 Michael Foord is in 2.7 and 3.2 (some bits already in 3.1, I think).
 The standalone release of that improved codebase is called unittest2.

 Cheers


More information about the Python-Dev mailing list