Skip to content

Commit 1a0f806

Browse files
committed
mark xfail tests
1 parent 96840d8 commit 1a0f806

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

tests/unit/test_s3_parquet.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -410,6 +410,12 @@ def test_index_recovery_simple_str(path, use_threads):
410410
assert_pandas_equals(df, df2)
411411

412412

413+
@pytest.mark.modin_index
414+
@pytest.mark.xfail(
415+
raises=AssertionError,
416+
reason="https://github.com/ray-project/ray/issues/37771",
417+
condition=is_ray_modin,
418+
)
413419
@pytest.mark.parametrize("use_threads", [True, False, 2])
414420
def test_index_recovery_partitioned_str(path, use_threads):
415421
df = pd.DataFrame(
@@ -530,6 +536,11 @@ def test_index_schema_validation(path, glue_database, glue_table, index):
530536

531537

532538
@pytest.mark.modin_index
539+
@pytest.mark.xfail(
540+
raises=AssertionError,
541+
reason="https://github.com/ray-project/ray/issues/37771",
542+
condition=is_ray_modin,
543+
)
533544
@pytest.mark.parametrize("index", [["c0"], ["c0", "c1"]])
534545
@pytest.mark.parametrize("partition_cols", [["c0"], ["c0", "c1"]])
535546
def test_index_partition(path, glue_database, glue_table, index, partition_cols):
@@ -679,6 +690,12 @@ def test_validate_columns(path, partition_cols) -> None:
679690
wr.s3.read_parquet(path, columns=["a", "b", "c"], dataset=True, validate_schema=True)
680691

681692

693+
@pytest.mark.modin_index
694+
@pytest.mark.xfail(
695+
raises=AssertionError,
696+
reason="https://github.com/ray-project/ray/issues/37771",
697+
condition=is_ray_modin,
698+
)
682699
@pytest.mark.parametrize("use_threads", [True, False, 2])
683700
def test_empty_column(path, use_threads):
684701
df = pd.DataFrame({"c0": [1, 2, 3], "c1": [None, None, None], "par": ["a", "b", "c"]})

tests/unit/test_s3_text.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,12 @@ def test_json(path):
205205
assert df1.equals(wr.s3.read_json(path=[path0, path1], use_threads=True))
206206

207207

208+
@pytest.mark.modin_index
209+
@pytest.mark.xfail(
210+
raises=AssertionError,
211+
reason="https://github.com/ray-project/ray/issues/37771",
212+
condition=is_ray_modin,
213+
)
208214
def test_json_lines(path):
209215
df0 = pd.DataFrame({"id": [1, 2, 3]})
210216
path0 = f"{path}test_json0.json"

0 commit comments

Comments
 (0)