-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Description
Just had a build which failed with the numpy prerelease:
=================================== FAILURES ===================================
_______________________ TestUfuncCoverage.test_coverage ________________________
self = <astropy.units.tests.test_quantity_ufuncs.TestUfuncCoverage object at 0x7f53072ec2e8>
def test_coverage(self):
all_np_ufuncs = set([ufunc for ufunc in np.core.umath.__dict__.values()
if type(ufunc) == np.ufunc])
from .. import quantity_helper as qh
all_q_ufuncs = (qh.UNSUPPORTED_UFUNCS |
set(qh.UFUNC_HELPERS.keys()))
> assert all_np_ufuncs - all_q_ufuncs == set([])
E assert {<ufunc 'float_power'>} == set()
E Extra items in the left set:
E <ufunc 'float_power'>
E Use -v to get the full diff
astropy/units/tests/test_quantity_ufuncs.py:25: AssertionError
= 1 failed, 8228 passed, 437 skipped, 71 xfailed, 1 xpassed in 272.09 seconds ==
Maybe that's an upstream issue but it's more likely they added another ufunc that should be supported with quantities.