diff options
Diffstat (limited to 'testsuite/driver/testutil.py')
-rw-r--r-- | testsuite/driver/testutil.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/driver/testutil.py b/testsuite/driver/testutil.py index 6e0c2684d7..888e77bc5a 100644 --- a/testsuite/driver/testutil.py +++ b/testsuite/driver/testutil.py @@ -8,8 +8,8 @@ import threading def passed(): return {'passFail': 'pass'} -def failBecause(reason, tag=None): - return {'passFail': 'fail', 'reason': reason, 'tag': tag} +def failBecause(reason, tag=None, **kwargs): + return kwargs.update({'passFail': 'fail', 'reason': reason, 'tag': tag}) def strip_quotes(s): # Don't wrap commands to subprocess.call/Popen in quotes. |