diff --git a/stellarphot/io/tests/test_aavso.py b/stellarphot/io/tests/test_aavso.py index 19b91c94..3cb2e662 100644 --- a/stellarphot/io/tests/test_aavso.py +++ b/stellarphot/io/tests/test_aavso.py @@ -23,7 +23,7 @@ def test_default_values(): def test_setting_type_raises_error(): aef = AAVSOExtendedFileFormat(DEFAULT_OBSCODE) - with pytest.raises(AttributeError, match="no setter"): + with pytest.raises(AttributeError, match="(no setter)|(can't set attribute)"): aef.type = 'STD'