Skip to content

Commit

Permalink
BugFix: Fixed Quotes around error
Browse files Browse the repository at this point in the history
  • Loading branch information
CSSFrancis committed Oct 27, 2023
1 parent f338bb5 commit efd13f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion orix/tests/sampling/test_sampling.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ def test_get_zone_axis(self, density, get_directions):
struct = Structure(atoms=atom_list, lattice=latt)
p = Phase(structure=struct, space_group=227)
if density == "5":
with pytest.raises("ValueError"):
with pytest.raises(ValueError):
get_sample_zone_axis(phase=p, density=density)
else:
if get_directions:
Expand Down

0 comments on commit efd13f2

Please sign in to comment.