Skip to content

Commit 69cf33d

Browse files
committed
Fix some docstrings
1 parent 4cf80a9 commit 69cf33d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pygmt/tests/test_grdtrack.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def test_grdtrack_profile(dataarray):
126126

127127
def test_grdtrack_wrong_kind_of_points_input(dataarray, dataframe):
128128
"""
129-
Run grdtrack using points input that is not a pandas.DataFrame (matrix) or file.
129+
Run grdtrack using points input that is not a pandas.DataFrame or file.
130130
"""
131131
invalid_points = dataframe.longitude.to_xarray()
132132
with pytest.raises(GMTInvalidInput):
@@ -135,7 +135,7 @@ def test_grdtrack_wrong_kind_of_points_input(dataarray, dataframe):
135135

136136
def test_grdtrack_wrong_kind_of_grid_input(dataarray, dataframe):
137137
"""
138-
Run grdtrack using grid input that is not as xarray.DataArray (grid) or file.
138+
Run grdtrack using grid input that is not as xarray.DataArray or file.
139139
"""
140140
invalid_grid = dataarray.to_dataset()
141141
with pytest.raises(GMTInvalidInput):

pygmt/tests/test_x2sys_cross.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,8 +236,8 @@ def test_x2sys_cross_input_two_filenames():
236236

237237
def test_x2sys_cross_invalid_tracks_input_type(tracks):
238238
"""
239-
Run x2sys_cross using tracks input that is not a pandas.DataFrame (matrix) or str
240-
(file) type, which would raise a GMTInvalidInput error.
239+
Run x2sys_cross using tracks input that is not a pandas.DataFrame or str type,
240+
which would raise a GMTInvalidInput error.
241241
"""
242242
invalid_tracks = tracks[0].to_xarray().z
243243
with pytest.raises(GMTInvalidInput):

0 commit comments

Comments
 (0)