Skip to content

Commit

Permalink
Remove test_nearneighbor_input_xy_no_z
Browse files Browse the repository at this point in the history
  • Loading branch information
weiji14 committed Sep 16, 2021
1 parent dcdf379 commit d09d63d
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions pygmt/tests/test_nearneighbor.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,20 +70,6 @@ def test_nearneighbor_input_xyz(ship_data):
return output


def test_nearneighbor_input_xy_no_z(ship_data):
"""
Run nearneighbor by passing in x and y, but no z.
"""
with pytest.raises(GMTInvalidInput):
nearneighbor(
x=ship_data.longitude,
y=ship_data.latitude,
spacing="5m",
region=[245, 255, 20, 30],
search_radius="10m",
)


def test_nearneighbor_wrong_kind_of_input(ship_data):
"""
Run nearneighbor using grid input that is not file/matrix/vectors.
Expand Down

0 comments on commit d09d63d

Please sign in to comment.