mypy
Improve stubgen tests
#16760
Merged

Loading