Created new ErrorClassPlugin, however ErrorClassPlugin's own addError seems to
be missing the capt arg, resulting in this traceback whenever the new Error is
raised:
Traceback (most recent call last):
File "/usr/local/bin/nosetests", line 8, in <module>
load_entry_point('nose==1.1.2', 'console_scripts', 'nosetests')()
File "/Library/Python/2.7/site-packages/nose-1.1.2-py2.7.egg/nose/core.py", line 118, in __init__
**extra_args)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/main.py", line 95, in __init__
self.runTests()
File "/Library/Python/2.7/site-packages/nose-1.1.2-py2.7.egg/nose/core.py", line 197, in runTests
result = self.testRunner.run(self.test)
File "/Library/Python/2.7/site-packages/nose-1.1.2-py2.7.egg/nose/core.py", line 61, in run
test(result)
File "/Library/Python/2.7/site-packages/nose-1.1.2-py2.7.egg/nose/suite.py", line 176, in __call__
return self.run(*arg, **kw)
File "/Library/Python/2.7/site-packages/nose-1.1.2-py2.7.egg/nose/suite.py", line 223, in run
test(orig)
File "/Library/Python/2.7/site-packages/nose-1.1.2-py2.7.egg/nose/suite.py", line 176, in __call__
return self.run(*arg, **kw)
File "/Library/Python/2.7/site-packages/nose-1.1.2-py2.7.egg/nose/suite.py", line 223, in run
test(orig)
File "/Library/Python/2.7/site-packages/nose-1.1.2-py2.7.egg/nose/suite.py", line 176, in __call__
return self.run(*arg, **kw)
File "/Library/Python/2.7/site-packages/nose-1.1.2-py2.7.egg/nose/suite.py", line 223, in run
test(orig)
File "/Library/Python/2.7/site-packages/nose-1.1.2-py2.7.egg/nose/case.py", line 45, in __call__
return self.run(*arg, **kwarg)
File "/Library/Python/2.7/site-packages/nose-1.1.2-py2.7.egg/nose/case.py", line 138, in run
result.addError(self, err)
File "/Library/Python/2.7/site-packages/nose-1.1.2-py2.7.egg/nose/proxy.py", line 134, in addError
plugins.addError(self.test, err)
File "/Library/Python/2.7/site-packages/nose-1.1.2-py2.7.egg/nose/plugins/manager.py", line 94, in __call__
return self.call(*arg, **kw)
File "/Library/Python/2.7/site-packages/nose-1.1.2-py2.7.egg/nose/plugins/manager.py", line 162, in simple
result = meth(*arg, **kw)
File "/Library/Python/2.7/site-packages/nose-1.1.2-py2.7.egg/nose/plugins/manager.py", line 320, in addError
return self.plugin.addError(test.test, err, capt)
TypeError: addError() takes exactly 3 arguments (4 given)
What version of the product are you using? On what operating system?
1.1.2, Python 2.7, Mac OS X 10.7
Original issue reported on code.google.com by pettazz on 5 Dec 2011 at 1:52
Original issue reported on code.google.com by
pettazz
on 5 Dec 2011 at 1:52