Skip to content

Commit 774dbbc

Browse files
committed
TST: fix test on windows
1 parent f5ed0e1 commit 774dbbc

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

pandas/tests/test_algos.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -442,10 +442,12 @@ def test_order_of_appearance(self):
442442
# light testing of guarantee of order of appearance
443443
# these also are the doc-examples
444444
result = pd.unique(Series([2, 1, 3, 3]))
445-
tm.assert_numpy_array_equal(result, np.array([2, 1, 3]))
445+
tm.assert_numpy_array_equal(result,
446+
np.array([2, 1, 3], dtype='int64'))
446447

447448
result = pd.unique(Series([2] + [1] * 5))
448-
tm.assert_numpy_array_equal(result, np.array([2, 1]))
449+
tm.assert_numpy_array_equal(result,
450+
np.array([2, 1], dtype='int64'))
449451

450452
result = pd.unique(Series([Timestamp('20160101'),
451453
Timestamp('20160101')]))

0 commit comments

Comments
 (0)