Skip to content

Commit 2ab836d

Browse files
authored
TST update and simplify consortium api test (#55993)
update consortium api test
1 parent a8b2989 commit 2ab836d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

pandas/tests/test_downstream.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -337,11 +337,9 @@ def test_dataframe_consortium() -> None:
337337
expected_1 = ["a", "b"]
338338
assert result_1 == expected_1
339339

340-
ser = Series([1, 2, 3])
340+
ser = Series([1, 2, 3], name="a")
341341
col = ser.__column_consortium_standard__()
342-
result_2 = col.get_value(1)
343-
expected_2 = 2
344-
assert result_2 == expected_2
342+
assert col.name == "a"
345343

346344

347345
def test_xarray_coerce_unit():

0 commit comments

Comments
 (0)