aboutsummaryrefslogtreecommitdiff
path: root/framework/exectest.py
diff options
context:
space:
mode:
Diffstat (limited to 'framework/exectest.py')
-rw-r--r--framework/exectest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/exectest.py b/framework/exectest.py
index b8d97b83..a8ed8614 100644
--- a/framework/exectest.py
+++ b/framework/exectest.py
@@ -224,7 +224,7 @@ class PlainExecTest(ExecTest):
try:
for piglit in outpiglit:
if piglit.startswith('subtest'):
- if not results.has_key('subtest'):
+ if not 'subtest' in results:
results['subtest'] = {}
results['subtest'].update(eval(piglit[7:]))
else: