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: * exohunter/tests/test_example.py Please use https://docs.pytest.org/en/stable/how-to/capture-warnings.html instead. If this issue is opened in error or irrelevant, feel free to close. We apologize for any inconvenience caused.