Skip to content

Commit

Permalink
Remove a type annotation that was breaking python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
timj committed May 10, 2024
1 parent 9efc77d commit e6c91fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_ivoa.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def test_construction(self):
with self.assertRaises(ValueError):
Region.from_ivoa_pos(pos)

def _split_pos(self, pos: str) -> tuple[str, list[float]]:
def _split_pos(self, pos: str):
"""Split POS into type and floats."""
region_type, *coordstr = pos.split()
coordinates = [float(c) for c in coordstr]
Expand Down

0 comments on commit e6c91fd

Please sign in to comment.