Skip to content

Commit

Permalink
Shorten a few test names
Browse files Browse the repository at this point in the history
  • Loading branch information
seisman committed Nov 12, 2024
1 parent 5aa0946 commit f182efd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pygmt/tests/test_clib_to_numpy.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def test_to_numpy_python_types_numeric(data, expected_dtype):


@pytest.mark.parametrize(("dtype", "expected_dtype"), np_dtype_params)
def test_to_numpy_ndarray_numpy_dtypes_numeric(dtype, expected_dtype):
def test_to_numpy_numpy_numeric(dtype, expected_dtype):
"""
Test the _to_numpy function with NumPy arrays of NumPy numeric dtypes.
Expand Down Expand Up @@ -228,7 +228,7 @@ def test_to_numpy_pandas_numeric(dtype, expected_dtype):
pytest.param("float64[pyarrow]", np.float64, id="float64[pyarrow]", **pa_marks),
],
)
def test_to_numpy_pandas_series_pandas_dtypes_numeric_with_na(dtype, expected_dtype):
def test_to_numpy_pandas_numeric_with_na(dtype, expected_dtype):
"""
Test the _to_numpy function with pandas.Series of pandas/PyArrow numeric dtypes and
missing values (NA).
Expand Down Expand Up @@ -279,7 +279,7 @@ def test_to_numpy_pandas_series_pandas_dtypes_numeric_with_na(dtype, expected_dt
pytest.param("float64", np.float64, id="float64"),
],
)
def test_to_numpy_pyarrow_array_pyarrow_dtypes_numeric(dtype, expected_dtype):
def test_to_numpy_pyarrow_numeric(dtype, expected_dtype):
"""
Test the _to_numpy function with PyArrow arrays of PyArrow numeric types.
"""
Expand Down Expand Up @@ -310,7 +310,7 @@ def test_to_numpy_pyarrow_array_pyarrow_dtypes_numeric(dtype, expected_dtype):
pytest.param("float64", np.float64, id="float64"),
],
)
def test_to_numpy_pyarrow_array_pyarrow_dtypes_numeric_with_na(dtype, expected_dtype):
def test_to_numpy_pyarrow_numeric_with_na(dtype, expected_dtype):
"""
Test the _to_numpy function with PyArrow arrays of PyArrow numeric types and NA.
"""
Expand Down

0 comments on commit f182efd

Please sign in to comment.