Skip to content

Commit d09d63d

Browse files
committed
Remove test_nearneighbor_input_xy_no_z
Following GenericMappingTools#1478.
1 parent dcdf379 commit d09d63d

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

pygmt/tests/test_nearneighbor.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -70,20 +70,6 @@ def test_nearneighbor_input_xyz(ship_data):
7070
return output
7171

7272

73-
def test_nearneighbor_input_xy_no_z(ship_data):
74-
"""
75-
Run nearneighbor by passing in x and y, but no z.
76-
"""
77-
with pytest.raises(GMTInvalidInput):
78-
nearneighbor(
79-
x=ship_data.longitude,
80-
y=ship_data.latitude,
81-
spacing="5m",
82-
region=[245, 255, 20, 30],
83-
search_radius="10m",
84-
)
85-
86-
8773
def test_nearneighbor_wrong_kind_of_input(ship_data):
8874
"""
8975
Run nearneighbor using grid input that is not file/matrix/vectors.

0 commit comments

Comments
 (0)