File tree Expand file tree Collapse file tree 2 files changed +13
-3
lines changed
Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change 22import pytest
33
44from pandas ._libs .tslibs import Timestamp
5+ from pandas .compat import (
6+ is_platform_arm ,
7+ is_platform_mac ,
8+ )
59
610import pandas as pd
711from pandas import (
@@ -531,7 +535,10 @@ def test_constructor(self, dtype):
531535 res = Index ([1 , 2 ** 63 + 1 ], dtype = dtype )
532536 tm .assert_index_equal (res , idx )
533537
534- @pytest .mark .xfail (reason = "https://github.com/numpy/numpy/issues/19146" )
538+ @pytest .mark .xfail (
539+ not (is_platform_arm and is_platform_mac ()),
540+ reason = "https://github.com/numpy/numpy/issues/19146" ,
541+ )
535542 def test_constructor_does_not_cast_to_float (self ):
536543 # https://github.com/numpy/numpy/issues/19146
537544 values = [0 , np .iinfo (np .uint64 ).max ]
Original file line number Diff line number Diff line change 66import numpy as np
77import pytest
88
9- from pandas .compat import is_platform_arm
9+ from pandas .compat import (
10+ is_platform_arm ,
11+ is_platform_mac ,
12+ )
1013from pandas .errors import UnsupportedFunctionCall
1114
1215from pandas import (
@@ -1073,7 +1076,7 @@ def test_rolling_sem(frame_or_series):
10731076 tm .assert_series_equal (result , expected )
10741077
10751078
1076- @pytest .mark .xfail (is_platform_arm (), reason = "GH 41740 " )
1079+ @pytest .mark .xfail (is_platform_arm () and not is_platform_mac () , reason = "GH 38921 " )
10771080@pytest .mark .parametrize (
10781081 ("func" , "third_value" , "values" ),
10791082 [
You can’t perform that action at this time.
0 commit comments