Closed ereOn closed 9 years ago
Thanks for the pull request @ereOn!
@ereOn can you just use --timer-no-color switch?
@ereOn make sure tests pass.
@skudriashev That last pull request was done in a hurry : I will fix the tests.
That being said, I could use --timer-no-color
but what's the point of having a default behavior that can't possibly work on Windows ?
@ereOn I generally agree with you. Should at least say "Disabled by default on Windows.", but then we get into the whole argument @skudriashev brought up, which is how do we guarantee no regressions going fwd?
@mahmoudimus I modified the tests to account for my changes.
However, the failing test was just checking the number of options added to the parser. I'm not sure this really brings anything in terms of regressions anyway.
@ereOn can merge until pep8 errors are fixed.
Fixed the indentation. Tests are passing ! :)
@ereOn, can you address this comment: https://github.com/mahmoudimus/nose-timer/pull/61#discussion_r30355286 ?
Merged.
@ereOn please, address comment https://github.com/mahmoudimus/nose-timer/pull/61#discussion_r30355286 with separate patch.
@skudriashev By any chance, have you updated a new release on Pypi ?
Windows + nosetests sadly doesn't support color output in the terminal.
This PR changes the default on Windows to disable color output (which otherwise makes the output unreadable).