Skip to content

Commit

Permalink
Update conftest.py (#54426)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
MichaelTiemannOSC committed Aug 5, 2023
1 parent 605a8e8 commit dd742d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pandas/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)]),
Expand Down

0 comments on commit dd742d6

Please sign in to comment.