We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent afc6af1 commit 235cec7Copy full SHA for 235cec7
1 file changed
tests/test_writer.py
@@ -184,11 +184,7 @@ def test_setter_invalid_scale_factor_input(self):
184
a_input = a + 0.1
185
assert a_input != a
186
try:
187
- with pytest.raises(
188
- AssertionError,
189
- match="The scale factor of masses does not match the scale factor of the "
190
- "Writer.",
191
- ):
+ with pytest.raises(AssertionError, match="The scale factor of masses"):
192
w.gas.masses = cosmo_array(
193
np.ones(100),
194
u.solMass,
0 commit comments