Skip to content

Commit d3f3e5d

Browse files
committed
Shortern more test names
1 parent afeaa38 commit d3f3e5d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pygmt/tests/test_clib_to_numpy.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def test_to_numpy_numpy_numeric(dtype, expected_dtype):
128128

129129

130130
@pytest.mark.parametrize("dtype", [None, np.str_, "U10"])
131-
def test_to_numpy_ndarray_numpy_dtypes_string(dtype):
131+
def test_to_numpy_numpy_string(dtype):
132132
"""
133133
Test the _to_numpy function with NumPy arrays of string types.
134134
"""
@@ -273,7 +273,7 @@ def test_to_numpy_pandas_numeric_with_na(dtype, expected_dtype):
273273
pytest.param("string[pyarrow_numpy]", marks=skip_if_no(package="pyarrow")),
274274
],
275275
)
276-
def test_to_numpy_pandas_series_pandas_dtypes_string(dtype):
276+
def test_to_numpy_pandas_string(dtype):
277277
"""
278278
Test the _to_numpy function with pandas.Series of pandas string types.
279279
@@ -295,7 +295,7 @@ def test_to_numpy_pandas_series_pandas_dtypes_string(dtype):
295295
pytest.param("date64[ms][pyarrow]", "datetime64[ms]", id="date64[ms]"),
296296
],
297297
)
298-
def test_to_numpy_pandas_series_pyarrow_dtypes_date(dtype, expected_dtype):
298+
def test_to_numpy_pandas_date(dtype, expected_dtype):
299299
"""
300300
Test the _to_numpy function with pandas.Series of PyArrow date32/date64 types.
301301
"""
@@ -404,7 +404,7 @@ def test_to_numpy_pyarrow_numeric_with_na(dtype, expected_dtype):
404404
"string_view",
405405
],
406406
)
407-
def test_to_numpy_pyarrow_array_pyarrow_dtypes_string(dtype):
407+
def test_to_numpy_pyarrow_string(dtype):
408408
"""
409409
Test the _to_numpy function with PyArrow arrays of PyArrow string types.
410410
"""
@@ -422,7 +422,7 @@ def test_to_numpy_pyarrow_array_pyarrow_dtypes_string(dtype):
422422
pytest.param("date64[ms]", "datetime64[ms]", id="date64[ms]"),
423423
],
424424
)
425-
def test_to_numpy_pyarrow_array_pyarrow_dtypes_date(dtype, expected_dtype):
425+
def test_to_numpy_pyarrow_date(dtype, expected_dtype):
426426
"""
427427
Test the _to_numpy function with PyArrow arrays of PyArrow date types.
428428

0 commit comments

Comments
 (0)