This is an automated issue from Astropy. You might be using code removed in astropy v6.0.dev from astropy/astropy#14670 in the following files:
* packagename/tests/test_example.py
If this issue is opened in error or irrelevant, feel free to close. We apologize for any inconvenience caused.