TST: Regression test added for Timedelta

- [x] closes #35665 
- [x] [Tests added and passed]
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [ ] Added an entry in the latest `doc/source/whatsnew/vX.X.X.rst` file if fixing a bug or adding a new feature.


The commit on Mar 18 is approved. Not sure why it is showing up here... You can see it here:
https://github.com/pandas-dev/pandas/pull/46422

This PR adds a regression test for #35665 , which was caused by #38965. Please let me know if there's more I need to do! Thanks!
This pull request is stale because it has been open for thirty days with no activity. Please [update](https://pandas.pydata.org/pandas-docs/stable/development/contributing.html#updating-your-pull-request) and respond to this comment if you're still interested in working on this. Thanks for the pull request, but it appears to be stale. If interested in continuing, please merge in the main branch, address the review, and we can reopen.