summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_typing.py
Commit message (Expand)AuthorAgeFilesLines
* gh-94245: Test pickling and copying of typing.Tuple[()] (GH-94259) (GH-94268)Miss Islington (bot)2022-06-261-2/+4
* gh-92106: Add test that subscription works on arbitrary TypedDicts (GH-92176)Miss Islington (bot)2022-05-031-0/+13
* [3.10] bpo-46581: Propagate private vars via _GenericAlias.copy_with (GH-3106...Matt Bogosian2022-03-111-0/+21
* bpo-46643: Fix stringized P.args/P.kwargs with get_type_hints (GH-31238)Miss Islington (bot)2022-03-031-0/+12
* bpo-46603: improve coverage of `typing._strip_annotations` (GH-31063)Miss Islington (bot)2022-02-191-0/+9
* [3.10] bpo-46333: Honor `module` parameter in ForwardRef (GH-30536) (GH-31379)Miss Islington (bot)2022-02-171-0/+12
* bpo-46685: cover `TypeError` of `ForwardRef(1)` in `test_typing` (GH-31223)Miss Islington (bot)2022-02-091-0/+4
* [3.10] bpo-46676: Make ParamSpec args and kwargs equal to themselves (GH-3120...Gregory Beauregard2022-02-081-0/+8
* [3.10] bpo-46655: allow stringized TypeAlias with get_type_hints (GH-31156). ...Gregory Beauregard2022-02-071-0/+5
* [3.10] bpo-46611: add coverage to instance and class checks in `typing.py` (G...Nikita Sobolev2022-02-071-0/+3
* Add more tests for variable substitution in generics (GH-31170)Miss Islington (bot)2022-02-061-0/+27
* bpo-46482: add a test for `typing.Annotation.__new__` (GH-30821)Miss Islington (bot)2022-02-011-0/+7
* bpo-46539: Pass status of special typeforms to forward references (GH-30926)Miss Islington (bot)2022-01-271-0/+14
* bpo-44791: Fix substitution of ParamSpec in Concatenate with different parame...Miss Islington (bot)2022-01-271-3/+45
* bpo-46529: increase coverage of `typing.Union.__repr__` method (GH-30911)Miss Islington (bot)2022-01-261-0/+9
* [3.10] bpo-46445, bpo-46519: Re-import typing.NewType (GH-30886)Ken Jin2022-01-251-0/+1
* bpo-46491: Allow Annotated on outside of Final/ClassVar (GH-30864)Miss Islington (bot)2022-01-251-0/+8
* [3.10] bpo-46416: Allow direct invocation of `Lib/test/test_typing.py` (GH-30...Nikita Sobolev2022-01-241-3/+3
* bpo-46445: Cover multiple inheritance of `TypedDict` in `test_typing` (GH-30719)Miss Islington (bot)2022-01-211-1/+87
* bpo-46437: remove useless `hasattr` from `test_typing` (GH-30704)Miss Islington (bot)2022-01-191-9/+7
* [3.10] bpo-46413: properly test `__{r}or__` code paths in `_SpecialGenericAli...Miss Islington (bot)2022-01-191-0/+8
* bpo-46424: [typing] cover `Annotation[arg]` invalid usage in tests (GH-30663)Miss Islington (bot)2022-01-191-0/+4
* bpo-46345: Add a test case for implicit `Optional` class attribute (GH-30535)Miss Islington (bot)2022-01-131-0/+6
* bpo-45755: [typing] Reveal class attributes of generic in generic aliases in ...Miss Islington (bot)2021-12-171-0/+11
* bpo-45679: Fix caching of multi-value typing.Literal (GH-29334)Miss Islington (bot)2021-10-311-0/+4
* bpo-45280: Add test for empty `NamedTuple` in `test_typing` (GH-28559) (GH-28...Miss Islington (bot)2021-09-261-0/+13
* bpo-45166: fixes `get_type_hints` failure on `Final` (GH-28279) (GH-28560)Miss Islington (bot)2021-09-251-1/+17
* bpo-45121: Fix RecursionError when calling Protocol.__init__ from a subclass'...Miss Islington (bot)2021-09-081-0/+10
* bpo-44524: Fix cryptic TypeError message when trying to subclass special form...Miss Islington (bot)2021-08-281-0/+16
* bpo-44524: Don't modify MRO when inheriting from typing.Annotated (GH-27841)Miss Islington (bot)2021-08-251-0/+5
* bpo-44524: Do not set _name of _SpecialForm without need (GH-27861) (GH-27871)Miss Islington (bot)2021-08-211-1/+0
* bpo-44524: Fix an issue wherein `_GenericAlias._name` was not properly set fo...Miss Islington (bot)2021-08-061-54/+173
* bpo-44801: Check arguments in substitution of ParamSpec in Callable (GH-27585)Miss Islington (bot)2021-08-041-3/+42
* bpo-44806: Fix __init__ in subclasses of protocols (GH-27545)Miss Islington (bot)2021-08-021-0/+36
* bpo-44793: Fix checking the number of arguments when subscribe a generic type...Miss Islington (bot)2021-08-021-2/+4
* bpo-44794: Merge tests for typing.Callable and collection.abc.Callable (GH-27...Miss Islington (bot)2021-07-311-25/+140
* bpo-44761: Change default value of NewType __module__ attr (GH-27406) (GH-27477)Miss Islington (bot)2021-07-301-0/+6
* bpo-44662: Add ability to annotate types.Union (GH-27214) (GH-27461)Miss Islington (bot)2021-07-301-0/+10
* bpo-44732: Rename types.Union to types.UnionType (GH-27342)Miss Islington (bot)2021-07-261-1/+1
* bpo-44353: Improve tests covering typing.NewType pickling (GH-27302) (GH-27328)Miss Islington (bot)2021-07-241-8/+9
* [3.10] bpo-44353: Expand NewType tests for complex __qualname__ (GH-27311) (G...Ɓukasz Langa2021-07-241-14/+42
* bpo-44353: Add test to cover __or__ of two NewType (GH-27259) (#27261)Miss Islington (bot)2021-07-201-4/+7
* bpo-44353: Refactor typing.NewType into callable class (GH-27250) (#27258)Miss Islington (bot)2021-07-201-0/+20
* bpo-44524: Add missed __name__ and __qualname__ to typing module objects (GH-...Miss Islington (bot)2021-07-191-0/+61
* bpo-44490: Improve typing module compatibility with types.Union (GH-27048) (#...Ken Jin2021-07-191-1/+21
* bpo-41249: Fix postponed annotations for TypedDict (GH-27017) (#27204)Miss Islington (bot)2021-07-171-0/+10
* [3.10] bpo-44468: Never skip base classes in `typing.get_type_hints()`, even ...Miss Islington (bot)2021-06-261-7/+18
* bpo-44098: Drop ParamSpec from most ``__parameters__`` in typing generics (GH...Miss Islington (bot)2021-05-131-0/+25
* bpo-38908: Fix issue when non runtime_protocol failed to raise TypeError (GH-...Miss Islington (bot)2021-05-121-0/+8
* bpo-43766: Implement PEP 647 (User-Defined Type Guards) in typing.py (#25282)Ken Jin2021-04-271-0/+40