Skip to content

Commit 911a2da

Browse files
committed
debug 32-bit issue
1 parent a69dbb3 commit 911a2da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/tests/extension/test_sparse.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010

1111
def make_data(fill_value):
1212
if np.isnan(fill_value):
13-
data = np.random.uniform(size=100)
13+
data = np.random.uniform(size=100).astype('float64')
1414
else:
15-
data = np.random.randint(1, 100, size=100)
15+
data = np.random.randint(1, 100, size=100, dtype='int64')
1616
if data[0] == data[1]:
1717
data[0] += 1
1818

0 commit comments

Comments
 (0)