Skip to content
Snippets Groups Projects
Commit 1dce906a authored by Craig Tiller's avatar Craig Tiller
Browse files

Use ast.literal_eval instead of json.loads to avoid unicode problems on windows

parent aff3d503
Branches
Tags
No related merge requests found
......@@ -480,7 +480,7 @@ class Build(object):
# different configurations we can run under
with open('tools/run_tests/configs.json') as f:
_CONFIGS = dict((cfg['config'], Config(**cfg)) for cfg in json.loads(f.read()))
_CONFIGS = dict((cfg['config'], Config(**cfg)) for cfg in ast.literal_eval(f.read()))
_DEFAULT = ['opt']
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment