Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix stubtest tests with typing-extensions>=4.6.0 (#15294)
`teststubtest.py` is currently failing on `master` due to changes that were made to `typing_extensions.Protocol` in typing_extensions v4.6.0: https://github.com/python/mypy/actions/runs/5056186170/jobs/9073337924. This PR fixes the failures. No need to bump the pinned version of `typing_extensions` in CI, as the tests will continue to pass if `typing_extensions<4.6.0` is installed.
- Loading branch information