Skip to content

Commit 24b9501

Browse files
Backport PR pandas-dev#55993 on branch 2.1.x (TST update and simplify 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]>
1 parent a8703c0 commit 24b9501

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

pandas/tests/test_downstream.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -348,11 +348,9 @@ def test_dataframe_consortium() -> None:
348348
expected_1 = ["a", "b"]
349349
assert result_1 == expected_1
350350

351-
ser = Series([1, 2, 3])
351+
ser = Series([1, 2, 3], name="a")
352352
col = ser.__column_consortium_standard__()
353-
result_2 = col.get_value(1)
354-
expected_2 = 2
355-
assert result_2 == expected_2
353+
assert col.name == "a"
356354

357355

358356
def test_xarray_coerce_unit():

0 commit comments

Comments
 (0)