This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jpellerin
Recipients jpellerin
Date 2009-07-04.20:27:26
SpamBayes Score 0.013635805
Marked as misclassified No
Message-id <1246739248.73.0.754849239276.issue6418@psf.upfronthosting.co.za>
In-reply-to
Content
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 
populated with the default TextTestRunner class in TestProgram.__init__. 
nose expects self.testRunner to be None or a runner instance in 
runTests(), and thus fails immediately with 2.6.3.

If initialization of self.testRunner could be deferred to runTests() as 
in unitttest for 2.5 and earlier, that would be ideal for nose.
History
Date User Action Args
2009-07-04 20:27:29jpellerinsetrecipients: + jpellerin
2009-07-04 20:27:28jpellerinsetmessageid: <1246739248.73.0.754849239276.issue6418@psf.upfronthosting.co.za>
2009-07-04 20:27:27jpellerinlinkissue6418 messages
2009-07-04 20:27:27jpellerincreate