Skip to content

Commit 3940401

Browse files
lrm25Blake Hawkins
authored and
Blake Hawkins
committed
Fix mypy errors for pandas\tests\*: test_convert_to.py (pandas-dev#28965)
1 parent 009ffc4 commit 3940401

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
@@ -161,9 +161,6 @@ ignore_errors=True
161161
[mypy-pandas.tests.frame.test_constructors]
162162
ignore_errors=True
163163

164-
[mypy-pandas.tests.frame.test_convert_to]
165-
ignore_errors=True
166-
167164
[mypy-pandas.tests.indexes.datetimes.test_datetimelike]
168165
ignore_errors=True
169166

0 commit comments

Comments
 (0)