Skip to content

Commit

Permalink
Added missing colon
Browse files Browse the repository at this point in the history
  • Loading branch information
Caspar van Leeuwen committed Feb 9, 2024
1 parent 39d99f0 commit 5955203
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eessi/testsuite/hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ def _set_or_append_valid_systems(test: rfm.RegressionTest, valid_systems: str):
# test.valid_systems was set before, so append
elif len(test.valid_systems) == 1:
test.valid_systems[0] = f'{test.valid_systems[0]} {valid_systems}'
else
else:
error_msg=f"test.valid_systems ({test.valid_systems}) is expected to contain one element."
error_msg+=f" Instead, it contained {len(test.valid_systems)}."
raise ValueError(error_msg)
Expand Down

0 comments on commit 5955203

Please sign in to comment.