Skip to content

Commit 5bbe13f

Browse files
committed
Skip some additional tests which fail in the CI environment
1 parent b76ae01 commit 5bbe13f

File tree

5 files changed

+18
-0
lines changed

5 files changed

+18
-0
lines changed

tests/integ/modin/frame/test_eval_and_query/test_eval.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,13 @@
1919
)
2020
import modin.pandas as pd
2121

22+
pytestmark = [
23+
pytest.mark.skipif(
24+
"config.getoption('enable_modin_hybrid_mode', default=False)",
25+
reason="numexpr is used for hybrid Pandas engine",
26+
),
27+
]
28+
2229

2330
def python_eval(df, expr, *, inplace=False, **kwargs):
2431
"""

tests/integ/modin/frame/test_eval_and_query/test_query.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,13 @@
2121

2222
global_int = 10
2323

24+
pytestmark = [
25+
pytest.mark.skipif(
26+
"config.getoption('enable_modin_hybrid_mode', default=False)",
27+
reason="numexpr is used for hybrid Pandas engine",
28+
),
29+
]
30+
2431

2532
def python_query(df, expr, *, inplace=False, **kwargs):
2633
"""

tests/integ/modin/index/test_index_methods.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -668,6 +668,7 @@ def test_index_parent():
668668
"kwargs",
669669
[{"dtype": "str"}, {"copy": True}, {"name": "abc"}, {"tupleize_cols": False}],
670670
)
671+
@pytest.mark.skip_hybrid
671672
def test_non_default_args(kwargs):
672673
idx = pd.Index([1, 2, 3, 4], name="name", dtype="int64")
673674

@@ -688,6 +689,7 @@ def test_create_index_from_series():
688689

689690

690691
@sql_count_checker(query_count=0)
692+
@pytest.mark.skip_hybrid
691693
def test_create_index_from_df_negative():
692694
with pytest.raises(ValueError):
693695
pd.Index(pd.DataFrame([[1, 2], [3, 4]]))

tests/integ/modin/series/test_value_counts.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,7 @@ def test_series_value_counts(native_series, normalize, sort, ascending, dropna):
248248
],
249249
)
250250
@sql_count_checker(query_count=1)
251+
@pytest.mark.skip_hybrid
251252
def test_series_value_counts_non_deterministic_pandas_behavior(
252253
native_series, expected, normalize, sort, ascending, dropna
253254
):

tests/integ/modin/tools/test_to_timedelta.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ def test_to_timedelta_invalid_dtype(native_index):
175175

176176

177177
@sql_count_checker(query_count=0)
178+
@pytest.mark.skip_hybrid
178179
def test_to_timedelta_string_dtype_not_implemented():
179180
data = pd.Index(["1 days", "2 days", "3 days"])
180181
msg = "Snowpark pandas method pd.to_timedelta does not yet support conversion from string type"

0 commit comments

Comments
 (0)