Test the argument list, not the tuple of argument tuple.
- Legacy-Id: 5134
This commit is contained in:
parent
1ce29c0af4
commit
9d9e2851e0
|
@ -104,7 +104,7 @@ def run_tests(*args, **kwargs):
|
|||
if failures:
|
||||
tfile.write("%s FAILED (failures=%s)\n" % (timestr, failures))
|
||||
else:
|
||||
if args:
|
||||
if list(*args):
|
||||
tfile.write("%s SUCCESS (tests=%s)\n" % (timestr, repr(list(*args))))
|
||||
else:
|
||||
tfile.write("%s OK\n" % (timestr, ))
|
||||
|
|
Loading…
Reference in a new issue