You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
TST: cosmology test classes not compatible with pytest 10 #19742
Recommendation: Author of original test (@nstarman) should find a way to simplify the affected cosmology tests so they do not emit warnings in pytest 9.1 to be compatible with pytest 10. Maybe we do not need so many levels of inheritance and setup_class?
If this is not addressed in a timely manner, we would need to either max pin pytest or disable the offending tests, none of which are desirable.
There are a lot of tests affected. To illustrated the problem, I am just going to focus on one here
pytest astropy/cosmology/_src/tests/flrw/test_flrw.py -k test_comoving_distance_example -v (running everything takes too long and gives too long a traceback)
Activity
pllim commentedon May 14, 2026
From a quick experiment in #19743 , looks like only
cosmologyis affected by this.