nghung270192 / colorama

Automatically exported from code.google.com/p/colorama
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Activating colorama from the yanc nose plugin #34

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Yanc nose plugin adds ANSI coloring to the output but I discovered that
if I add the colorama initialization to the yanc plugin it will not work.

If I add it to the first line of the nose package (nose/__init__.py) it will 
work. 

This is happening because nose is doing some tricks with stdout/stderr.

I do not expect nose developers to add these lines to __init__.py so the 
question is if we can do something inside the yanc plugin to make it work?

http://code.google.com/p/python-nose/issues/detail?id=476 - nose bug
https://github.com/ischium/yanc/issues/1 - yanc bug

Original issue reported on code.google.com by sorin.sb...@gmail.com on 2 Dec 2011 at 6:57