diff options
Diffstat (limited to 'testing/runtests.py')
-rw-r--r-- | testing/runtests.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/testing/runtests.py b/testing/runtests.py index 149d457..83647c6 100644 --- a/testing/runtests.py +++ b/testing/runtests.py @@ -41,10 +41,7 @@ class Tester: if (key=='config'): value = value.replace('$INPUTDIR',self.args.inputdir) #print('key=%s value=%s' % (key,value)) - if key in config: - config[key].append(value) - else: - config[key] = [value] + config.setdefault(key, []).append(value) return config def prepare_test(self): |