From 31c536437c4c4fc7e9a8733caf8ede6ce96484db Mon Sep 17 00:00:00 2001 From: Matt Craig Date: Fri, 29 Sep 2023 08:59:10 -0500 Subject: [PATCH] Fix match regex --- stellarphot/io/tests/test_aavso.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'