Skip to content

Commit f182efd

Browse files
committed
Shorten a few test names
1 parent 5aa0946 commit f182efd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pygmt/tests/test_clib_to_numpy.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def test_to_numpy_python_types_numeric(data, expected_dtype):
104104

105105

106106
@pytest.mark.parametrize(("dtype", "expected_dtype"), np_dtype_params)
107-
def test_to_numpy_ndarray_numpy_dtypes_numeric(dtype, expected_dtype):
107+
def test_to_numpy_numpy_numeric(dtype, expected_dtype):
108108
"""
109109
Test the _to_numpy function with NumPy arrays of NumPy numeric dtypes.
110110
@@ -228,7 +228,7 @@ def test_to_numpy_pandas_numeric(dtype, expected_dtype):
228228
pytest.param("float64[pyarrow]", np.float64, id="float64[pyarrow]", **pa_marks),
229229
],
230230
)
231-
def test_to_numpy_pandas_series_pandas_dtypes_numeric_with_na(dtype, expected_dtype):
231+
def test_to_numpy_pandas_numeric_with_na(dtype, expected_dtype):
232232
"""
233233
Test the _to_numpy function with pandas.Series of pandas/PyArrow numeric dtypes and
234234
missing values (NA).
@@ -279,7 +279,7 @@ def test_to_numpy_pandas_series_pandas_dtypes_numeric_with_na(dtype, expected_dt
279279
pytest.param("float64", np.float64, id="float64"),
280280
],
281281
)
282-
def test_to_numpy_pyarrow_array_pyarrow_dtypes_numeric(dtype, expected_dtype):
282+
def test_to_numpy_pyarrow_numeric(dtype, expected_dtype):
283283
"""
284284
Test the _to_numpy function with PyArrow arrays of PyArrow numeric types.
285285
"""
@@ -310,7 +310,7 @@ def test_to_numpy_pyarrow_array_pyarrow_dtypes_numeric(dtype, expected_dtype):
310310
pytest.param("float64", np.float64, id="float64"),
311311
],
312312
)
313-
def test_to_numpy_pyarrow_array_pyarrow_dtypes_numeric_with_na(dtype, expected_dtype):
313+
def test_to_numpy_pyarrow_numeric_with_na(dtype, expected_dtype):
314314
"""
315315
Test the _to_numpy function with PyArrow arrays of PyArrow numeric types and NA.
316316
"""

0 commit comments

Comments
 (0)