Skip to content

Commit

Permalink
Backport PR pandas-dev#55993 on branch 2.1.x (TST update and simplify…
Browse files Browse the repository at this point in the history
… consortium api test) (pandas-dev#56112)

Backport PR pandas-dev#55993: TST update and simplify consortium api test

Co-authored-by: Marco Edward Gorelli <[email protected]>
  • Loading branch information
meeseeksmachine and MarcoGorelli authored Nov 22, 2023
1 parent a8703c0 commit 24b9501
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions pandas/tests/test_downstream.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,11 +348,9 @@ def test_dataframe_consortium() -> None:
expected_1 = ["a", "b"]
assert result_1 == expected_1

ser = Series([1, 2, 3])
ser = Series([1, 2, 3], name="a")
col = ser.__column_consortium_standard__()
result_2 = col.get_value(1)
expected_2 = 2
assert result_2 == expected_2
assert col.name == "a"


def test_xarray_coerce_unit():
Expand Down

0 comments on commit 24b9501

Please sign in to comment.