The unittest TextTestRunner takes a resultclass argument for using your own result class. Nose does not provide this argument on its interface. It would be nice if there was a hook to do this in nose. Was this a deliberate choice?
My use case, for example, is coloring the test output. Right now I'm monkey patching _makeResult to use my own class.
The unittest
TextTestRunner
takes aresultclass
argument for using your own result class. Nose does not provide this argument on its interface. It would be nice if there was a hook to do this in nose. Was this a deliberate choice?My use case, for example, is coloring the test output. Right now I'm monkey patching
_makeResult
to use my own class.