Skip to content

Commit

Permalink
Different warning message in older python/matplotlib.
Browse files Browse the repository at this point in the history
  • Loading branch information
kyleaoman committed Mar 27, 2024
1 parent d49b439 commit e0b6455
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_martini.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ def test_preview(self, m_init):
Simply check that the preview visualisation runs without error.
"""
# with default arguments
with pytest.warns(UserWarning, match="makes transformation singular"):
with pytest.warns(UserWarning, match="singular"):
# warning: single-particle source is used, so axis limits try to be equal
m_init.preview()
# with non-default arguments
Expand Down

0 comments on commit e0b6455

Please sign in to comment.