[TIP] 2.6.3 unittest change breaks nose

Barry Warsaw barry at python.org
Sat Jul 4 09:42:46 PDT 2009


On Jul 4, 2009, at 12:38 PM, jason pellerin wrote:

> This changeset:
>
> http://hg.python.org/cpython/rev/c3fb79d1c036
>
> breaks nose, as it changes the behavior of unittest.TestProgram in a
> non-backwards-compatible way. Previously, when called like:
>
> TestProgram(testRunner=None)
>
> self.testRunner would be None when runTests() was called. Now, it is
> immediately populated with the default TextTestRunner class. nose
> expects self.testRunner to be None or a runner instance in runTests(),
> and thus fails immediately with 2.6.3.

Please submit a bug report on this, if there isn't one already.  You  
can make it a release blocker for 2.6.4.

-Barry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 832 bytes
Desc: This is a digitally signed message part
Url : http://lists.idyll.org/pipermail/testing-in-python/attachments/20090704/494e4647/attachment.pgp 


More information about the testing-in-python mailing list