We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 856f612 commit a431635Copy full SHA for a431635
Lib/test/test_annotationlib.py
@@ -885,6 +885,9 @@ def test_stringized_annotations_with_star_unpack(self):
885
def f(*args: "*tuple[int, ...]"): ...
886
self.assertEqual(get_annotations(f, eval_str=True),
887
{'args': (*tuple[int, ...],)[0]})
888
+ def f(*args: " *tuple[int, ...]"): ...
889
+ self.assertEqual(get_annotations(f, eval_str=True),
890
+ {'args': (*tuple[int, ...],)[0]})
891
892
893
def test_stringized_annotations_on_wrapper(self):
0 commit comments