Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f92e79c commit b0ca78cCopy full SHA for b0ca78c
1 file changed
lib/matplotlib/tests/test_dates.py
@@ -452,7 +452,7 @@ def test_date2num_dst_pandas():
452
raise SkipTest('pandas not installed')
453
454
def tz_convert(*args):
455
- return pd.DatetimeIndex.tz_convert(*args).astype(datetime.datetime)
+ return pd.DatetimeIndex.tz_convert(*args).astype(object)
456
457
_test_date2num_dst(pd.date_range, tz_convert)
458
0 commit comments