Skip to content

Commit 17abf89

Browse files
Update conftest.py
complex numbers now appear to work for GH pandas-dev#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 <[email protected]>
1 parent 7bc2000 commit 17abf89

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/conftest.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1765,8 +1765,8 @@ def any_numeric_dtype(request):
17651765
("datetime64", [np.datetime64("2013-01-01"), np.nan, np.datetime64("2018-01-01")]),
17661766
("datetime", [Timestamp("20130101"), np.nan, Timestamp("20180101")]),
17671767
("date", [date(2013, 1, 1), np.nan, date(2018, 1, 1)]),
1768-
# The following two dtypes are commented out due to GH 23554
1769-
# ('complex', [1 + 1j, np.nan, 2 + 2j]),
1768+
("complex", [1 + 1j, np.nan, 2 + 2j]),
1769+
# The following dtype is commented out due to GH 23554
17701770
# ('timedelta64', [np.timedelta64(1, 'D'),
17711771
# np.nan, np.timedelta64(2, 'D')]),
17721772
("timedelta", [timedelta(1), np.nan, timedelta(2)]),

0 commit comments

Comments
 (0)