Skip to content

Commit

Permalink
Fix match regex
Browse files Browse the repository at this point in the history
  • Loading branch information
mwcraig committed Sep 29, 2023
1 parent f250169 commit 31c5364
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stellarphot/io/tests/test_aavso.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'


Expand Down

0 comments on commit 31c5364

Please sign in to comment.