Skip to content

Commit fbcb163

Browse files
author
luseverin
committed
Remove outdated test for raise of ValueError when check_antimeridian is attempted in non-degree units
1 parent e1c9633 commit fbcb163

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

climada/util/test/test_coordinates.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1473,18 +1473,6 @@ def test_nearest_neighbor_haversine_invalid_unit(self):
14731473
coords_to_assign, coords, "km", u_coord.NEAREST_NEIGHBOR_THRESHOLD
14741474
)
14751475

1476-
def test_nearest_neighbor_euclidean_invalid_unit_with_antimeridian(self):
1477-
"""Test euclidean nearest neighbor antimeridian with invalid unit"""
1478-
self.setUp_match_coordinates()
1479-
with self.assertRaises(ValueError):
1480-
u_coord._nearest_neighbor_euclidean(
1481-
self.coords_to_assign,
1482-
self.coords,
1483-
"km",
1484-
u_coord.NEAREST_NEIGHBOR_THRESHOLD,
1485-
check_antimeridian=True,
1486-
)
1487-
14881476

14891477
class TestGetGeodata(unittest.TestCase):
14901478
def test_nat_earth_resolution_pass(self):

0 commit comments

Comments
 (0)