Skip to content

Commit d4dbffa

Browse files
committed
Add error message
1 parent 0e9e7bc commit d4dbffa

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

pandas/core/methods/to_dict.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ def to_dict(
155155
stacklevel=find_stack_level(),
156156
)
157157
# GH16122
158+
# error: Call to untyped function "standardize_mapping" in typed context
158159
into_c = com.standardize_mapping(into) # type: ignore[no-untyped-call]
159160

160161
# error: Incompatible types in assignment (expression has type "str",

pandas/io/formats/printing.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,7 @@ def enable_data_resource_formatter(enable: bool) -> None:
255255
return
256256
from IPython import get_ipython
257257

258+
# error: Call to untyped function "standardize_mapping" in typed context
258259
ip = get_ipython() # type: ignore[no-untyped-call]
259260
if ip is None:
260261
# still not in IPython

0 commit comments

Comments
 (0)