This is an automated issue from Astropy. You are importing astropy TestRunner in the following files:
- astroquery/_astropy_init.py
Please see astropy/astropy#16177 for more information. You might want to stop using the TestRunner. Instead, we recommend running tests in other ways like invoking pytest, tox, nox, or other native testing framework of your choice. We apologize for any inconvenience caused.