8000 Numpy Prerelease Failure · Issue #5479 · astropy/astropy · GitHub
[go: up one dir, main page]

Skip to content
Numpy Prerelease Failure #5479
@MSeifert04

Description

@MSeifert04

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0