Skip to content

Commit 155f7a0

Browse files
lrm25proost
authored andcommitted
Fix mypy errors for pandas\tests\*: test_convert_to.py (pandas-dev#28965)
1 parent 2671bd9 commit 155f7a0

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

pandas/tests/frame/test_convert_to.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -575,9 +575,9 @@ def test_frame_to_dict_tz(self):
575575
),
576576
),
577577
(
578-
defaultdict(list),
578+
defaultdict(dict),
579579
defaultdict(
580-
list,
580+
dict,
581581
{
582582
0: {"int_col": 1, "float_col": 1.0},
583583
1: {"int_col": 2, "float_col": 2.0},

setup.cfg

-3
Original file line numberDiff line numberDiff line change
@@ -163,9 +163,6 @@ ignore_errors=True
163163
[mypy-pandas.tests.frame.test_constructors]
164164
ignore_errors=True
165165

166-
[mypy-pandas.tests.frame.test_convert_to]
167-
ignore_errors=True
168-
169166
[mypy-pandas.tests.indexes.datetimes.test_datetimelike]
170167
ignore_errors=True
171168

0 commit comments

Comments
 (0)