Skip to content

Commit a65492f

Browse files
committed
TST: skip 32bit platform on test_get_indexer_closer for interval index
1 parent e0cbc37 commit a65492f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pandas/tests/indexes/test_interval.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
import numpy as np
55

66
from pandas import (Interval, IntervalIndex, Index, isnull,
7-
interval_range, Timestamp, Timedelta)
7+
interval_range, Timestamp, Timedelta,
8+
compat)
89
from pandas._libs.interval import IntervalTree
910
from pandas.tests.indexes.common import Base
1011
import pandas.util.testing as tm
@@ -778,6 +779,8 @@ def test_get_loc_closed(self):
778779
self.assert_numpy_array_equal(tree.get_loc(p),
779780
np.array([0], dtype='int64'))
780781

782+
@pytest.mark.skipif(compat.is_platform_32bit(),
783+
reason="int type mistmach on 32bit")
781784
def test_get_indexer_closed(self):
782785
x = np.arange(1000, dtype='float64')
783786
found = x.astype('intp')

0 commit comments

Comments
 (0)