nose-devs/nose — Issue #466: Enable ANSI support under Windows for nose
Author: jpellerin
Created: 2011-12-14 16:12:07+00:00
State: open

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

Google Code Info:
Issue #: 476
Author: sorin.sb...@gmail.com
Created On: 2011-12-02T18:24:28.000Z
Closed On: