summaryrefslogtreecommitdiffstats
path: root/contrib/python/traitlets/py3/tests/test_typing.py
diff options
context:
space:
mode:
authorrobot-contrib <[email protected]>2023-12-12 09:18:27 +0300
committerrobot-contrib <[email protected]>2023-12-12 09:48:31 +0300
commit1823321f2d789b9ae9ff875a4861d998c6071ed9 (patch)
tree2da1df1e1ac754832736590154522e4f461c6323 /contrib/python/traitlets/py3/tests/test_typing.py
parent42cbb3b39d4aa621abbc2d84558807bdb68265ce (diff)
Update contrib/python/traitlets/py3 to 5.14.0
Diffstat (limited to 'contrib/python/traitlets/py3/tests/test_typing.py')
-rw-r--r--contrib/python/traitlets/py3/tests/test_typing.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/python/traitlets/py3/tests/test_typing.py b/contrib/python/traitlets/py3/tests/test_typing.py
index 04f027af123..8329feb8375 100644
--- a/contrib/python/traitlets/py3/tests/test_typing.py
+++ b/contrib/python/traitlets/py3/tests/test_typing.py
@@ -102,9 +102,9 @@ def mypy_list_typing() -> None:
t = T()
reveal_type(List(["foo"])) # R: traitlets.traitlets.List[builtins.str]
reveal_type(List([""]).tag(sync=True)) # R: traitlets.traitlets.List[builtins.str]
- reveal_type(List(None, allow_none=True)) # R: traitlets.traitlets.List[<nothing>]
+ reveal_type(List(None, allow_none=True)) # R: traitlets.traitlets.List[Never]
reveal_type(
- List(None, allow_none=True).tag(sync=True) # R: traitlets.traitlets.List[<nothing>]
+ List(None, allow_none=True).tag(sync=True) # R: traitlets.traitlets.List[Never]
)
reveal_type(T.latex_command) # R: traitlets.traitlets.List[builtins.str]
reveal_type(t.latex_command) # R: builtins.list[builtins.str]