From 079ed2e7e4638d376220f028f445533540ba4cd1 Mon Sep 17 00:00:00 2001 From: Michael Tiemann <72577720+MichaelTiemannOSC@users.noreply.github.com> Date: Sat, 5 Aug 2023 14:32:32 -0400 Subject: [PATCH] Update conftest.py (#54426) complex numbers now appear to work for GH #23554. There are no examples as to how to update the whatsnew documentation for conftest.py, so I don't know whether or how to add an entry for this change. Signed-off-by: Michael Tiemann <72577720+MichaelTiemannOSC@users.noreply.github.com> --- pandas/conftest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandas/conftest.py b/pandas/conftest.py index 9cb29903dc1561..f756da82157b85 100644 --- a/pandas/conftest.py +++ b/pandas/conftest.py @@ -1765,8 +1765,8 @@ def any_numeric_dtype(request): ("datetime64", [np.datetime64("2013-01-01"), np.nan, np.datetime64("2018-01-01")]), ("datetime", [Timestamp("20130101"), np.nan, Timestamp("20180101")]), ("date", [date(2013, 1, 1), np.nan, date(2018, 1, 1)]), - # The following two dtypes are commented out due to GH 23554 - # ('complex', [1 + 1j, np.nan, 2 + 2j]), + ("complex", [1 + 1j, np.nan, 2 + 2j]), + # The following dtype is commented out due to GH 23554 # ('timedelta64', [np.timedelta64(1, 'D'), # np.nan, np.timedelta64(2, 'D')]), ("timedelta", [timedelta(1), np.nan, timedelta(2)]),