1
0
forked from VimPlug/jedi

fix some colorama/pytest combo crazyness

This commit is contained in:
Dave Halter
2014-01-17 01:02:50 +01:00
parent 588fbea4f9
commit 3337d638d1

View File

@@ -10,6 +10,10 @@ try:
else:
# Use colorama for nicer console output.
from colorama import Fore, init
from colorama import initialise
# pytest resets the stream at the end - causes troubles. Since after
# every output the stream is reset automatically we don't need this.
initialise.atexit_done = True
init()
except ImportError:
class Fore(object):