Skip to content

Commit 4aa0e0a

Browse files
committed
TST: dtype test comparison w.r.t GH9151 on 32-bit platforms
1 parent 9d4f423 commit 4aa0e0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/tools/tests/test_merge.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1186,7 +1186,7 @@ def test_int64_overflow_issues(self):
11861186

11871187
# one-2-many/none match
11881188
n = 1 << 11
1189-
left = DataFrame(np.random.randint(low, high, (n, 7)),
1189+
left = DataFrame(np.random.randint(low, high, (n, 7)).astype('int64'),
11901190
columns=list('ABCDEFG'))
11911191

11921192
# confirm that this is checking what it is supposed to check
@@ -1196,7 +1196,7 @@ def test_int64_overflow_issues(self):
11961196
# add duplicates to left frame
11971197
left = pd.concat([left, left], ignore_index=True)
11981198

1199-
right = DataFrame(np.random.randint(low, high, (n // 2, 7)),
1199+
right = DataFrame(np.random.randint(low, high, (n // 2, 7)).astype('int64'),
12001200
columns=list('ABCDEFG'))
12011201

12021202
# add duplicates & overlap with left to the right frame

0 commit comments

Comments
 (0)