Skip to content

Commit 8250456

Browse files
Carreauminrk
andauthored
Apply suggestions from code review
Co-authored-by: Min RK <[email protected]>
1 parent 6fdb97f commit 8250456

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ipykernel/kernelbase.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -852,7 +852,7 @@ async def inspect_request(self, socket, ident, parent):
852852
reply_content = await reply_content
853853
else:
854854
warnings.warn(
855-
_AWAITABLE_MESSAGE.format(func_name="inspect_request"),
855+
_AWAITABLE_MESSAGE.format(func_name="do_inspect"),
856856
PendingDeprecationWarning,
857857
stacklevel=1,
858858
)
@@ -877,7 +877,7 @@ async def history_request(self, socket, ident, parent):
877877
reply_content = await reply_content
878878
else:
879879
warnings.warn(
880-
_AWAITABLE_MESSAGE.format(func_name="history_request"),
880+
_AWAITABLE_MESSAGE.format(func_name="do_history"),
881881
PendingDeprecationWarning,
882882
stacklevel=1,
883883
)
@@ -1030,7 +1030,7 @@ async def is_complete_request(self, socket, ident, parent):
10301030
reply_content = await reply_content
10311031
else:
10321032
warnings.warn(
1033-
_AWAITABLE_MESSAGE.format(func_name="do_execute"),
1033+
_AWAITABLE_MESSAGE.format(func_name="do_is_complete"),
10341034
PendingDeprecationWarning,
10351035
stacklevel=1,
10361036
)
@@ -1052,7 +1052,7 @@ async def debug_request(self, socket, ident, parent):
10521052
reply_content = await reply_content
10531053
else:
10541054
warnings.warn(
1055-
_AWAITABLE_MESSAGE.format(func_name="debug_request"),
1055+
_AWAITABLE_MESSAGE.format(func_name="do_debug_request"),
10561056
PendingDeprecationWarning,
10571057
stacklevel=1,
10581058
)

0 commit comments

Comments
 (0)