Re-add test skips dropped in 2.2.3
authorDebian Science Team <debian-science-maintainers@lists.alioth.debian.org>
Sun, 2 Feb 2025 11:17:13 +0000 (11:17 +0000)
committerPeter Michael Green <plugwash@raspbian.org>
Sun, 2 Feb 2025 11:17:13 +0000 (11:17 +0000)
Dropped because they apparently aren't needed in 3.x;
unknown if this is 2.x vs 3.x or i386 vs arm*

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: not-needed

Gbp-Pq: Name skiptests_intervaltree_32bit.patch

pandas/tests/indexes/interval/test_interval_tree.py
pandas/tests/indexing/interval/test_interval.py
pandas/tests/indexing/interval/test_interval_new.py

index 78388e84fc6dc1af7dadd78b88a1155ed8cfd812..ad57eadef456059b46a61e5deb264d1f3a69e8ca 100644 (file)
@@ -190,6 +190,7 @@ class TestIntervalTree:
         expected = (50 + np.iinfo(np.int64).max) / 2
         assert result == expected
 
+    @pytest.mark.xfail(not IS64, reason="GH 23440", raises=TypeError)
     @pytest.mark.parametrize(
         "left, right, expected",
         [
index dd51917b85a59b2ae88ac0c029dadaa6ff8f19da..8d129801cb136cdde72fa2c29897932eb9eea082 100644 (file)
@@ -2,6 +2,7 @@ import numpy as np
 import pytest
 
 from pandas._libs import index as libindex
+from pandas.compat import IS64
 
 import pandas as pd
 from pandas import (
@@ -209,6 +210,7 @@ class TestIntervalIndexInsideMultiIndex:
         expected = Series([1, 6, 2, 8, 7], index=expected_index, name="value")
         tm.assert_series_equal(result, expected)
 
+    @pytest.mark.xfail(not IS64, reason="GH 23440", raises=TypeError)
     @pytest.mark.parametrize(
         "base",
         [101, 1010],
index 018db5846f4e269efe69de91b30b461822872410..3e44fd779a244ab5e8eaa68344ba10e1a2e2e251 100644 (file)
@@ -3,6 +3,8 @@ import re
 import numpy as np
 import pytest
 
+from pandas.compat import IS64
+
 from pandas import (
     Index,
     Interval,
@@ -209,6 +211,7 @@ class TestIntervalIndex:
             obj.loc[[4, 5, 6]]
 
 
+@pytest.mark.xfail(not IS64, reason="GH 23440", raises=TypeError)
 @pytest.mark.parametrize(
     "intervals",
     [