Skip to content

Commit f12a9d3

Browse files
BabyChrist666claude
andcommitted
Fix pyright: annotate FakeIPython.config type
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent f568ea1 commit f12a9d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/client/test_stdio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -705,7 +705,7 @@ def test_jupyter_detection_ipkernel_app(self):
705705
"""Test that _is_jupyter_environment returns True for IPKernelApp config."""
706706

707707
class FakeIPython:
708-
config = {"IPKernelApp": {}}
708+
config: dict[str, dict[str, str]] = {"IPKernelApp": {}}
709709

710710
mock_ipython_module = MagicMock()
711711
mock_ipython_module.get_ipython = MagicMock(return_value=FakeIPython())

0 commit comments

Comments
 (0)