Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Bugs
[issue6418] unittest.TestProgram change breaks nose
 

Index | Next | Previous | View Flat


report at bugs

Jul 4, 2009, 1:27 PM


Views: 219
Permalink
[issue6418] unittest.TestProgram change breaks nose

New submission from Jason Pellerin <jpellerin[at]gmail.com>:

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.

----------
components: Library (Lib)
messages: 90123
nosy: jpellerin
severity: normal
status: open
title: unittest.TestProgram change breaks nose
type: behavior
versions: Python 2.6

_______________________________________
Python tracker <report[at]bugs.python.org>
<http://bugs.python.org/issue6418>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com

Subject User Time
[issue6418] unittest.TestProgram change breaks nose report at bugs Jul 4, 2009, 1:27 PM
    [issue6418] unittest.TestProgram change breaks nose report at bugs Jul 4, 2009, 1:35 PM
    [issue6418] unittest.TestProgram change breaks nose report at bugs Jul 4, 2009, 6:27 PM
    [issue6418] unittest.TestProgram change breaks nose report at bugs Jul 5, 2009, 8:17 AM
    [issue6418] unittest.TestProgram change breaks nose report at bugs Jul 13, 2009, 9:34 AM
    [issue6418] unittest.TestProgram change breaks nose report at bugs Jul 13, 2009, 9:37 AM
    [issue6418] unittest.TestProgram change breaks nose report at bugs Jul 14, 2009, 10:59 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.