Enable console colour in the approval tests on windows.

This commit is contained in:
Rupert Steel 2018-05-02 17:25:30 +12:00 committed by Martin Hořeňovský
parent e5fe3e877a
commit 90988f578c

View File

@ -12,6 +12,10 @@ import difflib
import scriptCommon import scriptCommon
from scriptCommon import catchPath from scriptCommon import catchPath
if os.name == 'nt':
# Enable console colours on windows
os.system('')
rootPath = os.path.join(catchPath, 'projects/SelfTest/Baselines') rootPath = os.path.join(catchPath, 'projects/SelfTest/Baselines')