Subclassing unittest.TestCase?

Roy Smith roy at panix.com
Thu Nov 4 00:59:05 CET 2010


In article <iarqs3$2v5$02$1 at news.t-online.com>,
 Peter Otten <__peter__ at web.de> wrote:

> Remove the base class from the module with
> 
> del CommonTestCase
> 
> before you invoke unittest.main().

Wow, what a clever idea!  I tried it, and it does exactly what I need.  
Thanks!



More information about the Python-list mailing list