Skip to content

Commit

Permalink
Address exception test per #9324 (comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
greenc-FNAL committed Feb 12, 2019
1 parent f03c166 commit f9cd78f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lib/spack/spack/test/build_systems.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,8 @@ def test_cmake_bad_generator(config, mock_packages):
s.concretize()
pkg = spack.repo.get(s)
pkg.generator = 'Yellow Sticky Notes'
try:
with pytest.raises(spack.package.InstallError):
get_std_cmake_args(pkg)
except spack.package.InstallError as e:
return e
else:
pytest.fail('InstallError was not raised!')


def test_cmake_secondary_generator(config, mock_packages):
Expand Down

0 comments on commit f9cd78f

Please sign in to comment.