Skip to content

Commit bf2cf35

Browse files
committed
Added to_list test for categories
1 parent 9780b01 commit bf2cf35

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/tests/test_base.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1098,9 +1098,10 @@ def test_iterable(self, typ, method, dtype, rdtype):
10981098
'method',
10991099
[
11001100
lambda x: x.tolist(),
1101+
lambda x: x.to_list(),
11011102
lambda x: list(x),
11021103
lambda x: list(x.__iter__()),
1103-
], ids=['tolist', 'list', 'iter'])
1104+
], ids=['tolist', 'to_list', 'list', 'iter'])
11041105
@pytest.mark.parametrize('typ', [Series, Index])
11051106
def test_iterable_object_and_category(self, typ, method,
11061107
dtype, rdtype, obj):

0 commit comments

Comments
 (0)