Skip to content

Commit 85a6c75

Browse files
committed
TST: windows compat on to_numeric tests
1 parent 10de5bb commit 85a6c75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tools/tests/test_util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ def test_numeric_dtypes(self):
224224

225225
def test_str(self):
226226
idx = pd.Index(['1', '2', '3'], name='xxx')
227-
exp = np.array([1, 2, 3])
227+
exp = np.array([1, 2, 3], dtype='int64')
228228
res = pd.to_numeric(idx)
229229
tm.assert_index_equal(res, pd.Index(exp, name='xxx'))
230230

0 commit comments

Comments
 (0)