erikrose/nose-progressive — Issue #32: "TypeError: expected a character buffer object" on skipped tests
Author: jonozzz
Created: 2012-02-17 18:43:02+00:00
State: open

I enabled --progressive-advisories and I was expecting to see the Skip reasons being logged. Instead I'm getting a different kind of exception for each skipped test:

DEPRECATED: tests.embvt.integration.icontrol.icproxy:Tests.test_12_node_create

ERROR: tests.embvt.integration.icontrol.icproxy:Tests.test_12_node_create
/bin/nano +133 develop-eggs/nose-1.1.2-py2.7.egg/nose/case.py # run
self.runTest(result, blocked)
/bin/nano +156 develop-eggs/nose-1.1.2-py2.7.egg/nose/case.py # runTest
test(result)
/bin/nano +398 eggs/unittest2-0.5.1-py2.7.egg/unittest2/case.py # __call__
return self.run(*args, **kwds)
/bin/nano +360 eggs/unittest2-0.5.1-py2.7.egg/unittest2/case.py # run
self._addSkip(result, str(e))
/bin/nano +301 eggs/unittest2-0.5.1-py2.7.egg/unittest2/case.py # _addSkip
addSkip(self, reason)
/bin/nano +163 develop-eggs/nose-1.1.2-py2.7.egg/nose/proxy.py # addSkip
self.result.addSkip(self.test, reason)
/bin/nano +143 eggs/nose_progressive-1.3-py2.7.egg/noseprogressive/result.py # addSkip
self.stream.writeln(reason)
/bin/nano +24 /usr/lib64/python2.7/unittest/runner.py # writeln
self.write(arg)
TypeError: expected a character buffer object