Skip to content

Commit

Permalink
Merge branch 'psyclone_3_support_clean' into add_shell_tool_clean
Browse files Browse the repository at this point in the history
  • Loading branch information
hiker committed Nov 21, 2024
2 parents ae61d4a + 7168f42 commit 70c083e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion source/fab/tools/tool_repository.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,8 @@ def get_default(self, category: Category,
:param category: the category for which to return the default tool.
:param mpi: if a compiler or linker is required that supports MPI.
:param openmp: if a compiler or linker is required that supports OpenMP.
:param openmp: if a compiler or linker is required that supports
OpenMP.
:raises KeyError: if the category does not exist.
:raises RuntimeError: if no compiler/linker is found with the
Expand Down
3 changes: 2 additions & 1 deletion tests/unit_tests/tools/test_compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,8 @@ def test_ifort_get_version_invalid_version(version):
with mock.patch.object(ifort, "run", mock.Mock(return_value=full_output)):
with pytest.raises(RuntimeError) as err:
ifort.get_version()
assert "Unexpected version output format for compiler" in str(err.value)
assert ("Unexpected version output format for compiler"
in str(err.value))


# ============================================================================
Expand Down

0 comments on commit 70c083e

Please sign in to comment.