mypy Fix for tests\frame\test_constructors
- [x] closes one subtask of #28926
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry

thanks @happilyeverafter95 for the PR, however overlaps with #29115 which is now merged so closing.