Skip to content

Commit

Permalink
test: fix for test test_from_uvdata to remove deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielaBreitman committed Aug 8, 2024
1 parent a40f0b1 commit 13202f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_observatory.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def test_from_uvdata(bm):
uv.telescope.antenna_positions = (
np.array([[0, 0, 0], [0, 1, 0], [1, 0, 0], [40, 0, 40]]) * units.m
)
uv.telescope.telescope_location = [
uv.telescope.location = [
x.value for x in EarthLocation.from_geodetic(0, 0).to_geocentric()
]
uv.telescope.antenna_positions = (
Expand Down

0 comments on commit 13202f4

Please sign in to comment.