Skip to content

Commit

Permalink
try again to fix test in windows
Browse files Browse the repository at this point in the history
  • Loading branch information
bhazelton committed Feb 9, 2024
1 parent 4a641e9 commit b8e373e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/test_skymodel.py
Original file line number Diff line number Diff line change
Expand Up @@ -3045,9 +3045,7 @@ def test_fhd_catalog_reader_labeling_extended_sources():
def test_fhd_catalog_reader_errors():
catfile = os.path.join(SKY_DATA_PATH, "fhd_catalog_bad.sav")

with pytest.raises(
KeyError, match=f"File {catfile} does not contain a known catalog name. "
):
with pytest.raises(KeyError, match="does not contain a known catalog name. "):
SkyModel.from_fhd_catalog(catfile)


Expand Down

0 comments on commit b8e373e

Please sign in to comment.