Skip to content

Commit

Permalink
Update unit test ValueError msg check
Browse files Browse the repository at this point in the history
  • Loading branch information
duytnguyendtn committed Sep 11, 2024
1 parent 6afdbfd commit b69fd3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyvo/registry/tests/test_rtcons.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ def test_SkyCoord_Circle_RadiusQuantity(self):
assert cons.get_search_condition(FAKE_GAVO) == _make_subquery(
"rr.stc_spatial", "1 = CONTAINS(MOC(6, CIRCLE(3.0, -30.0, 3.0)), coverage)")

with pytest.raises(ValueError, match="is not of type dimensionless angle."):
with pytest.raises(ValueError, match="is not of type angle."):
cons = registry.Spatial((SkyCoord(3 * u.deg, -30 * u.deg), (1 * u.m)))

def test_enclosed(self):
Expand Down

0 comments on commit b69fd3a

Please sign in to comment.