Currently there is at least one nose plugin (yanc) that enables coloring for
nose.
Initially this plugin worked only on non-Windows but by doing `import
tendo.ansiterm` you can enable ANSI under Windows for stderr/stdout (redirect
safe).
The problem is that importing ansiterm from the plugin code is not enought
because it is too late, nose already did hid tricks with stderr/stdout so
ansiterm cannot install itself properly.
One solution to this problem would be to add these lines at the beginning of
nose/__init__.py
try:
import tendo.ansiterm # enable ANSI support on Windows, needs to be before nose initialization
except:
pass
Original issue reported on code.google.com by sorin.sb...@gmail.com on 2 Dec 2011 at 6:24
Original issue reported on code.google.com by
sorin.sb...@gmail.com
on 2 Dec 2011 at 6:24