aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Craig Tiller <craig.tiller@gmail.com>2015-01-18 11:01:25 -0800
committerGravatar Craig Tiller <craig.tiller@gmail.com>2015-01-18 11:01:25 -0800
commit06b4ff2b7190254e01fc570a437a2618c7f73dde (patch)
tree95b93483c5d4b91c1a401cf543a4d20e5751c4b3
parentf24e7241aa0bbace23c48e5717fa07e19f37ed36 (diff)
Simplify Python code
-rwxr-xr-xtools/run_tests/run_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/run_tests/run_tests.py b/tools/run_tests/run_tests.py
index 71c68d7b24..15c523731b 100755
--- a/tools/run_tests/run_tests.py
+++ b/tools/run_tests/run_tests.py
@@ -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]