Skip to content

Commit 7828922

Browse files
committed
Merge pull request #4992 from Komnomnomnom/indexing-dtype-test-fix
TST: fix indexing test for windows failure
2 parents d72b2ad + d64bac4 commit 7828922

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/test_indexing.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1532,7 +1532,7 @@ def test_floating_index(self):
15321532

15331533
# related 236
15341534
# scalar/slicing of a float index
1535-
s = Series(np.arange(5), index=np.arange(5) * 2.5)
1535+
s = Series(np.arange(5), index=np.arange(5) * 2.5, dtype=np.int64)
15361536

15371537
# label based slicing
15381538
result1 = s[1.0:3.0]

0 commit comments

Comments
 (0)