Closed JelleZijlstra closed 3 months ago
The test failures are due to some pytest deprecation; it's not immediately obvious where the problem is.
The good news is that my draft PEP 649 implementation (https://github.com/python/cpython/pull/119361) passes the entire test suite, once this change is implied and I ignore the pytest deprecation.
This needs additional tests. If typing_extensions
is to be imported unconditionally, then the conditional dependency on it in pyproject.toml
must be made unconditional.
EDIT: The test that would be needed is a test for recognizing typing_extensions.TypedDict
.
The test suite already tests for both typing.TypedDict
and typing_extensions.TypedDict
; it uses the typing_provider
fixture to use both. However, I'll add a direct test for is_typeddict
.
Thanks!!