summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_typing.py
Commit message (Expand)AuthorAgeFilesLines
* gh-105280: Ensure `isinstance([], collections.abc.Mapping)` always evaluates ...Alex Waygood2023-06-051-0/+14
* gh-105237: Allow calling `issubclass(X, typing.Protocol)` again (#105239)Alex Waygood2023-06-051-0/+59
* gh-105144: Runtime-checkable protocols: move all 'sanity checks' to `_Protoco...Alex Waygood2023-05-311-18/+91
* Remove raw asserts in test_typing.py (#104951)Jelle Zijlstra2023-05-261-22/+30
* gh-104786: Remove kwargs-based TypedDict creation (#104891)Tomas R2023-05-251-30/+3
* gh-104935: typing: Fix interactions between `@runtime_checkable` and `Generic...Jelle Zijlstra2023-05-251-0/+42
* gh-104879: Fix TypeAliasType.__module__ in exec() (#104881)Jelle Zijlstra2023-05-241-0/+34
* Improve test coverage for is_typeddict (#104884)Jelle Zijlstra2023-05-241-3/+22
* gh-104797: Allow Protocols to inherit from collections.abc.Buffer (#104827)Jelle Zijlstra2023-05-241-0/+16
* gh-92871: Remove typing.{io,re} namespaces (#92873)Sebastian Rittau2023-05-231-23/+1
* gh-74690: Make a typing test more resilient (#104691)Alex Waygood2023-05-211-4/+3
* gh-104600: Make type.__type_params__ writable (#104634)Jelle Zijlstra2023-05-191-0/+27
* gh-74690: Don't set special protocol attributes on non-protocol subclasses of...Alex Waygood2023-05-181-0/+15
* gh-104555: Runtime-checkable protocols: Don't let previous calls to `isinstan...Alex Waygood2023-05-171-0/+76
* typing: Add more tests for TypeVar (#104571)Jelle Zijlstra2023-05-171-0/+42
* gh-104555: Fix isinstance() and issubclass() for runtime-checkable protocols ...Alex Waygood2023-05-161-0/+18
* gh-103763: Implement PEP 695 (#103764)Jelle Zijlstra2023-05-161-35/+19
* gh-91896: Revert some very noisy DeprecationWarnings for `ByteString` (#104424)Alex Waygood2023-05-131-22/+6
* gh-91896: Improve visibility of `ByteString` deprecation warnings (#104294)Alex Waygood2023-05-121-4/+26
* GH-103629: Update Unpack's repr in compliance with PEP 692 (#104048)Franek Magiera2023-05-011-27/+32
* gh-104036: Fix direct invocation of test_typing (#104037)Kirill Podoprigora2023-05-011-1/+1
* gh-103746: Test `types.UnionType` and `Literal` types together (#103747)Nikita Sobolev2023-04-241-0/+5
* gh-103592: Add tests of `Literal` with `Enum` and `Union` of `Literal`s (#103...Nikita Sobolev2023-04-231-0/+45
* GH-103699: Add `__orig_bases__` to various typing classes (#103698)Adrian Garcia Badaracco2023-04-231-0/+59
* gh-103395: Improve `typing._GenericAlias.__dir__` coverage (#103396)Nikita Sobolev2023-04-101-2/+61
* gh-74690: Add more tests for runtime-checkable protocols (#103347)Alex Waygood2023-04-071-2/+39
* gh-102433: Use `inspect.getattr_static` in `typing._ProtocolMeta.__instancech...Alex Waygood2023-04-021-2/+91
* gh-103054: typing: Improve `Callable` type substitution tests (#103055)Nikita Sobolev2023-03-291-0/+42
* gh-88965: typing: fix type substitution of a list of types after initial `Pa...Nikita Sobolev2023-03-231-0/+121
* gh-102721: Improve coverage of `_collections_abc._CallableGenericAlias` (#102...Nikita Sobolev2023-03-161-7/+32
* gh-102615: Use `list` instead of `tuple` in `repr` of paramspec (#102637)Nikita Sobolev2023-03-151-0/+45
* gh-102433: Add tests for how classes with properties interact with `isinstanc...Alex Waygood2023-03-111-0/+88
* gh-102444: Fix minor bugs in `test_typing` highlighted by pyflakes (#102445)Alex Waygood2023-03-051-19/+2
* Fix unused classes in a typing test (GH-102437)JosephSBoyle2023-03-051-2/+2
* gh-102324: Improve tests of `typing.override` (#102325)Nikita Sobolev2023-03-031-4/+95
* gh-101561: Add typing.override decorator (#101564)Steven Troxler2023-02-271-0/+38
* gh-101562: typing: add tests for inheritance with NotRequired & Required in p...Eclips42023-02-061-0/+33
* gh-101015: Fix `typing.get_type_hints` with unpacked `*tuple` (PEP 646) (#101...Nikita Sobolev2023-01-231-0/+30
* gh-99957: Add `frozen_default` parameter on `dataclass_transform` (#99958)Erik De Bonte2022-12-061-1/+4
* gh-99344, gh-99379, gh-99382: Fix issues in substitution of ParamSpec and Typ...Serhiy Storchaka2022-11-291-0/+81
* `test_typing`: use all pickle protocols (#99154)Nikita Sobolev2022-11-061-1/+1
* gh-98852: Fix subscription of type aliases (GH-98920)Serhiy Storchaka2022-11-011-0/+28
* gh-98713: Use `@cpython_only` for a test that fails on PyPy (#98714)Nikita Sobolev2022-10-261-1/+2
* GH-87390: Add remaining tests for PEP 646 (#98267)Matthew Rahtz2022-10-251-191/+462
* Use more precise exception types in `assertRaises` in typing tests (#98650)Nikita Sobolev2022-10-251-3/+3
* typing tests: `_overload_dummy` raises `NotImplementedError`, not `RuntimeErr...Nikita Sobolev2022-10-201-1/+1
* gh-96784: Cover more typing special forms in `get_args()` (#96791)Nikita Sobolev2022-09-141-0/+27
* gh-96769: Cover more typing special forms to be unsubclassable (#96772)Nikita Sobolev2022-09-141-5/+43
* gh-96478: Fix new test when run in refleak mode (#96615)Jelle Zijlstra2022-09-061-12/+12
* gh-96478: Test `@overload` on C functions (#96479)Nikita Sobolev2022-09-051-0/+14