Closed
Description
Noticed it today: https://github.com/astropy/astropy/actions/runs/10554512360/job/29236483624
Most likely suspect:
- Clarify exception message for non-quantity input to ufuncs #16878 (Clarify exception message for non-quantity input to ufuncs #16878 (comment))
Affected tests:
astropy/units/tests/test_quantity_erfa_ufuncs.py::TestPVUfuncs::test_s2p_not_all_quantity
astropy/units/tests/test_quantity_erfa_ufuncs.py::TestGeodetic::test_unit_errors
astropy/units/tests/test_quantity_ufuncs.py::TestQuantityTrigonometricFuncs::test_sin_with_quantity_out
Error:
> with pytest.raises(AttributeError, match="is treated as dimensionless"):
E AssertionError: Regex pattern did not match.
E Regex: 'is treated as dimensionless'
E Input: "'NoneType' object has no attribute 'get_converter'"
Does not bode well for #16879 but we need to understand why the behavior is different for these jobs only. They appear to be using Python 3.12.