Lines Matching defs:typing
17 from typing import ClassVar, Any, List, Union, Tuple, Dict, Generic, TypeVar, Optional, Protocol
18 from typing import get_type_hints
22 import typing # Needed for the string "typing.ClassVar[int]" to work as an annotation.
1243 'dataclasses.InitVar[typing.List[int]]')
3473 # These tests assume that both "import typing" and "from
3474 # typing import *" have been run in this file.
3480 'typing.ClassVar[int]',
3481 'typing.ClassVar[str]',
3482 ' typing.ClassVar[str]',
3483 'typing .ClassVar[str]',
3484 'typing. ClassVar[str]',
3485 'typing.ClassVar [str]',
3486 'typing.ClassVar [ str]',
3490 'typing.ClassVar.[int]',
3491 'typing.ClassVar+',
3509 'typing..ClassVar[int]',
3512 'typing.ClassVarx[int]',
3560 'typing.xInitVar[int]',
3721 self.assertEqual(C.__annotations__, {'x': 'typing.Any',
3722 'y': 'typing.Any',
3723 'z': 'typing.Any'})
3728 self.assertEqual(C.__annotations__, {'x': 'typing.Any',
3730 'z': 'typing.Any'})