Skip to content

Commit aa61db3

Browse files
committed
TST: 32bit dtype compat pandas-dev#36579
1 parent c6e64b1 commit aa61db3

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

pandas/tests/test_algos.py

+6-2
Original file line numberDiff line numberDiff line change
@@ -1546,7 +1546,9 @@ def test_lookup_nan(self, writable):
15461546
m = ht.Float64HashTable()
15471547
m.map_locations(xs)
15481548
expected_dtype = np.int64 if IS64 else np.int32
1549-
tm.assert_numpy_array_equal(m.lookup(xs), np.arange(len(xs), dtype=expected_dtype))
1549+
tm.assert_numpy_array_equal(
1550+
m.lookup(xs), np.arange(len(xs), dtype=expected_dtype)
1551+
)
15501552

15511553
def test_add_signed_zeros(self):
15521554
# GH 21866 inconsistent hash-function for float64
@@ -1580,7 +1582,9 @@ def test_lookup_overflow(self, writable):
15801582
m = ht.UInt64HashTable()
15811583
m.map_locations(xs)
15821584
expected_dtype = np.int64 if IS64 else np.int32
1583-
tm.assert_numpy_array_equal(m.lookup(xs), np.arange(len(xs), dtype=expected_dtype))
1585+
tm.assert_numpy_array_equal(
1586+
m.lookup(xs), np.arange(len(xs), dtype=expected_dtype)
1587+
)
15841588

15851589
def test_get_unique(self):
15861590
s = Series([1, 2, 2 ** 63, 2 ** 63], dtype=np.uint64)

0 commit comments

Comments
 (0)