Skip to content

Commit f3285fd

Browse files
committed
Added to_list test for categories
1 parent 5e87454 commit f3285fd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/tests/test_base.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1123,9 +1123,10 @@ def test_iterable(self, typ, method, dtype, rdtype):
11231123
'method',
11241124
[
11251125
lambda x: x.tolist(),
1126+
lambda x: x.to_list(),
11261127
lambda x: list(x),
11271128
lambda x: list(x.__iter__()),
1128-
], ids=['tolist', 'list', 'iter'])
1129+
], ids=['tolist', 'to_list', 'list', 'iter'])
11291130
@pytest.mark.parametrize('typ', [Series, Index])
11301131
def test_iterable_object_and_category(self, typ, method,
11311132
dtype, rdtype, obj):

0 commit comments

Comments
 (0)