Fix WML test runner crashing if none of the tests are expected to pass
This commit is contained in:
parent
2191911cc1
commit
d74b8c3a52
1 changed files with 2 additions and 1 deletions
|
@ -183,7 +183,8 @@ def test_batcher(test_list):
|
|||
expected_to_pass.append(test)
|
||||
else:
|
||||
yield [test]
|
||||
yield expected_to_pass
|
||||
if len(expected_to_pass) > 0:
|
||||
yield expected_to_pass
|
||||
|
||||
if __name__ == '__main__':
|
||||
ap = argparse.ArgumentParser()
|
||||
|
|
Loading…
Add table
Reference in a new issue