Skip to content

Commit

Permalink
fix test_properties
Browse files Browse the repository at this point in the history
Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
  • Loading branch information
njzjz committed Aug 6, 2024
1 parent dbd0289 commit 88a496d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/analysis/elasticity/test_stress.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ def test_properties(self):
UserWarning, match="Tensor is not symmetric, information may be lost in Voigt conversion"
) as warns:
_ = self.non_symm.voigt
assert len(warns) == 1
assert sum("Tensor is not symmetric, information may be lost in Voigt conversion" in str(warn) for warn in warns) == 1

0 comments on commit 88a496d

Please sign in to comment.