Skip to content

Commit 3571b3c

Browse files
committed
COMPAT: test dtype fix for windows
1 parent 33723f9 commit 3571b3c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pandas/tests/test_panel.py

+3
Original file line numberDiff line numberDiff line change
@@ -1231,6 +1231,9 @@ def test_apply_slabs(self):
12311231
dfb = DataFrame(np.array(np.arange(10, 22, dtype='int64')).reshape(4,3), columns=list("ABC"), index=index)
12321232
p = Panel({'f':dfa, 'g':dfb})
12331233
result = p.apply(lambda x: x.sum(), axis=0)
1234+
1235+
# on windows this will be in32
1236+
result = result.astype('int64')
12341237
expected = p.sum(0)
12351238
assert_frame_equal(result,expected)
12361239

0 commit comments

Comments
 (0)