Skip to content

Commit

Permalink
chore: ignore reverted warning
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoGorelli committed Jan 7, 2025
1 parent 77e18c1 commit 08dfaa4
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 7 deletions.
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,8 @@ filterwarnings = [
'ignore:.*You are using pyarrow version',
# This warning was temporarily raised by pandas but then reverted.
'ignore:.*Passing a BlockManager to DataFrame:DeprecationWarning',
# This warning was temporarily raised by Polars but then reverted.
'ignore:.*The default coalesce behavior of left join will change:DeprecationWarning',
]
xfail_strict = true
markers = ["slow: marks tests as slow (deselect with '-m \"not slow\"')"]
Expand Down
3 changes: 0 additions & 3 deletions tests/frame/join_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,6 @@ def test_join_not_implemented(constructor: Constructor, how: str) -> None:
df.join(df, left_on="antananarivo", right_on="antananarivo", how=how) # type: ignore[arg-type]


@pytest.mark.filterwarnings("ignore:the default coalesce behavior")
def test_left_join(constructor: Constructor) -> None:
data_left = {
"antananarivo": [1.0, 2, 3],
Expand Down Expand Up @@ -272,7 +271,6 @@ def test_left_join(constructor: Constructor) -> None:
assert_equal_data(result_on_list, expected_on_list)


@pytest.mark.filterwarnings("ignore: the default coalesce behavior")
def test_left_join_multiple_column(constructor: Constructor) -> None:
data_left = {"antananarivo": [1, 2, 3], "bob": [4, 5, 6], "index": [0, 1, 2]}
data_right = {"antananarivo": [1, 2, 3], "c": [4, 5, 6], "index": [0, 1, 2]}
Expand All @@ -290,7 +288,6 @@ def test_left_join_multiple_column(constructor: Constructor) -> None:
assert_equal_data(result, expected)


@pytest.mark.filterwarnings("ignore: the default coalesce behavior")
def test_left_join_overlapping_column(constructor: Constructor) -> None:
data_left = {
"antananarivo": [1.0, 2, 3],
Expand Down
1 change: 0 additions & 1 deletion tests/hypothesis/join_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@ def test_cross_join( # pragma: no cover
),
)
@pytest.mark.slow
@pytest.mark.filterwarnings("ignore:the default coalesce behavior")
def test_left_join( # pragma: no cover
a_left_data: list[int],
b_left_data: list[int],
Expand Down
3 changes: 0 additions & 3 deletions tests/spark_like_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -830,7 +830,6 @@ def test_semi_join(
assert_equal_data(result, expected)


@pytest.mark.filterwarnings("ignore:the default coalesce behavior")
def test_left_join(pyspark_constructor: Constructor) -> None:
data_left = {
"antananarivo": [1.0, 2, 3],
Expand Down Expand Up @@ -874,7 +873,6 @@ def test_left_join(pyspark_constructor: Constructor) -> None:
assert_equal_data(result_on_list, expected_on_list)


@pytest.mark.filterwarnings("ignore: the default coalesce behavior")
def test_left_join_multiple_column(pyspark_constructor: Constructor) -> None:
data_left = {"antananarivo": [1, 2, 3], "bob": [4, 5, 6], "idx": [0, 1, 2]}
data_right = {"antananarivo": [1, 2, 3], "c": [4, 5, 6], "idx": [0, 1, 2]}
Expand All @@ -894,7 +892,6 @@ def test_left_join_multiple_column(pyspark_constructor: Constructor) -> None:
assert_equal_data(result, expected)


@pytest.mark.filterwarnings("ignore: the default coalesce behavior")
def test_left_join_overlapping_column(pyspark_constructor: Constructor) -> None:
data_left = {
"antananarivo": [1.0, 2, 3],
Expand Down

0 comments on commit 08dfaa4

Please sign in to comment.