Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 committed Sep 30, 2023
1 parent 2d2231d commit 4811b59
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/test_typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,10 @@ class KernelSpecManager(HasTraits):

t = KernelSpecManager()
reveal_type(
Type(KernelSpec)
) # R: traitlets.traitlets.Type[def () -> tests.test_typing.KernelSpec@124, def () -> tests.test_typing.KernelSpec@124]
Type(
KernelSpec
) # R: traitlets.traitlets.Type[def () -> tests.test_typing.KernelSpec@124, def () -> tests.test_typing.KernelSpec@124]
)
reveal_type(t.kernel_spec_class) # R: def () -> tests.test_typing.KernelSpec@124
reveal_type(t.kernel_spec_class()) # R: tests.test_typing.KernelSpec@124
reveal_type(t.kernel_spec_class().item) # R: builtins.str
Expand Down

0 comments on commit 4811b59

Please sign in to comment.