Skip to content

Commit 1979cb5

Browse files
authored
Merge pull request pandas-dev#11 from YasithDSL/fix_column_typeerror
Fix column typeerror
2 parents 4025929 + cbe1a9c commit 1979cb5

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

pandas/tests/io/test_sql.py

+7-4
Original file line numberDiff line numberDiff line change
@@ -237,14 +237,17 @@ def types_table_metadata(dialect: str):
237237
"types",
238238
metadata,
239239
Column("TextCol", TEXT),
240-
Column("DateCol", date_type),
240+
# error: Cannot infer type argument 1 of "Column"
241+
Column("DateCol", date_type), # type: ignore[misc]
241242
Column("IntDateCol", Integer),
242243
Column("IntDateOnlyCol", Integer),
243244
Column("FloatCol", Float),
244245
Column("IntCol", Integer),
245-
Column("BoolCol", bool_type),
246-
Column("IntColWithNull", Integer),
247-
Column("BoolColWithNull", bool_type),
246+
# error: Cannot infer type argument 1 of "Column"
247+
Column("BoolCol", bool_type), # type: ignore[misc]
248+
Column("IntColWithNull", Integer),
249+
# error: Cannot infer type argument 1 of "Column"
250+
Column("BoolColWithNull", bool_type), # type: ignore[misc]
248251
)
249252
return types
250253

0 commit comments

Comments
 (0)