Skip to content

Commit

Permalink
Update eessi/testsuite/utils.py
Browse files Browse the repository at this point in the history
Co-authored-by: Sam Moors <smoors@users.noreply.github.com>
  • Loading branch information
laraPPr and smoors authored Aug 7, 2024
1 parent a54a4d2 commit 1b7acbd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions eessi/testsuite/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,9 @@ def find_modules(regex: str, name_only=True) -> Iterator[str]:
seen.add(orig_mod)
yield orig_mod

if dupes != []:
err_msg = "EESSI test-suite cannot handle duplicate modules."
err_msg += "Please make sure that only one is available on your system."
if dupes:
err_msg = "EESSI test-suite cannot handle duplicate modules. "
err_msg += "Please make sure that only one is available on your system. "
err_msg += f"The following modules have a duplicate on your system: {dupes}"
raise ValueError(err_msg)

Expand Down

0 comments on commit 1b7acbd

Please sign in to comment.