diff --git a/pygmt/tests/test_clib_vectors_to_arrays.py b/pygmt/tests/test_clib_vectors_to_arrays.py index e59690069ca..b85912d48d6 100644 --- a/pygmt/tests/test_clib_vectors_to_arrays.py +++ b/pygmt/tests/test_clib_vectors_to_arrays.py @@ -69,17 +69,6 @@ def test_vectors_to_arrays_not_c_contiguous(): _check_arrays(arrays) -def test_vectors_to_arrays_pandas_nan(): - """ - Test the vectors_to_arrays function with pandas Series containing NaNs. - """ - vectors = [pd.Series(data=[0, 4, pd.NA, 8, 6], dtype=pd.Int32Dtype())] - arrays = vectors_to_arrays(vectors) - npt.assert_equal(arrays[0], np.array([0, 4, np.nan, 8, 6], dtype=np.float64)) - assert arrays[0].dtype == np.float64 - _check_arrays(arrays) - - @pytest.mark.skipif(not _HAS_PYARROW, reason="pyarrow is not installed.") def test_vectors_to_arrays_pyarrow_datetime(): """