Skip to content

Commit

Permalink
fix error raised
Browse files Browse the repository at this point in the history
  • Loading branch information
ltalirz committed Apr 7, 2022
1 parent e26cafa commit 3660518
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_dataclasses.py
Original file line number Diff line number Diff line change
Expand Up @@ -1946,7 +1946,7 @@ def test_ase_molecule(self): # pylint: disable=no-self-use
assert retdict['value'] == 0
assert retdict['dim'] == 0

with pytest.raises(AssertionError):
with pytest.raises(ValueError):
# A periodic cell requires a nonzero volume in periodic directions
s.set_pbc(True)
s.store()
Expand Down

0 comments on commit 3660518

Please sign in to comment.