fix typo in new unit test

This commit is contained in:
yardasol 2022-04-07 11:15:25 -05:00 committed by GitHub
parent 16b894ffd8
commit aa233c80dd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -220,7 +220,7 @@ def test_isogonal_octagon(axis, plane_tb, plane_lr, axis_idx):
# Check invalid r1, r2 combinations
with pytest.raises(ValueError):
openmc.model.IsogonalOctagon(center, r1=1.0, r2=10.)
with pytest.rasies(ValueError):
with pytest.raises(ValueError):
openmc.model.IsogonalOctagon(center, r1=10., r2=1.)
# Make sure repr works