CI: Fix IPython Tab Completion test async warning
- [x] closes #29070
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`

- New PR since https://github.com/pandas-dev/pandas/pull/29087 went stale

thanks @alimcmaster1 