Skip to content

Commit 23c133d

Browse files
committed
Update tests to match dtype int64
1 parent 07b772a commit 23c133d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/tests/series/test_apply.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ def test_apply_datetimetz(self):
124124

125125
# change dtype
126126
result = s.apply(lambda x: x.hour)
127-
exp = pd.Series(list(range(24)) + [0], name='XX', dtype=np.int32)
127+
exp = pd.Series(list(range(24)) + [0], name='XX', dtype=np.int64)
128128
tm.assert_series_equal(result, exp)
129129

130130
# not vectorized
@@ -318,7 +318,7 @@ def test_map_datetimetz(self):
318318

319319
# change dtype
320320
result = s.map(lambda x: x.hour)
321-
exp = pd.Series(list(range(24)) + [0], name='XX', dtype=np.int32)
321+
exp = pd.Series(list(range(24)) + [0], name='XX', dtype=np.int64)
322322
tm.assert_series_equal(result, exp)
323323

324324
with tm.assertRaises(NotImplementedError):

0 commit comments

Comments
 (0)