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

Simplify Python code

parent f24e7241
No related branches found
No related tags found
No related merge requests found
......@@ -45,7 +45,7 @@ class CLanguage(object):
self.allow_hashing = True
self.make_target = make_target
with open('tools/run_tests/tests.json') as f:
js = json.loads(f.read())
js = json.load(f)
self.binaries = [tgt['name']
for tgt in js
if tgt['language'] == test_lang]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment