File tree 2 files changed +14
-1
lines changed
2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -122,6 +122,18 @@ def is_platform_power() -> bool:
122
122
return platform .machine () in ("ppc64" , "ppc64le" )
123
123
124
124
125
+ def is_platform_riscv64 () -> bool :
126
+ """
127
+ Checking if the running platform use riscv64 architecture.
128
+
129
+ Returns
130
+ -------
131
+ bool
132
+ True if the running platform uses riscv64 architecture.
133
+ """
134
+ return platform .machine () == "riscv64"
135
+
136
+
125
137
def is_ci_environment () -> bool :
126
138
"""
127
139
Checking if running in a continuous integration environment by checking
Original file line number Diff line number Diff line change 10
10
IS64 ,
11
11
is_platform_arm ,
12
12
is_platform_power ,
13
+ is_platform_riscv64 ,
13
14
)
14
15
15
16
from pandas import (
@@ -1081,7 +1082,7 @@ def test_rolling_sem(frame_or_series):
1081
1082
1082
1083
1083
1084
@pytest .mark .xfail (
1084
- is_platform_arm () or is_platform_power (),
1085
+ is_platform_arm () or is_platform_power () or is_platform_riscv64 () ,
1085
1086
reason = "GH 38921" ,
1086
1087
)
1087
1088
@pytest .mark .parametrize (
You can’t perform that action at this time.
0 commit comments