Skip to content

TestScalarPEP3118.test_scalar_match_array fails on armv7hl #11832

Description

@QuLogic

Reproducing code example:

The build on Fedora armv7hl fails in TestScalarPEP3118.test_scalar_match_array.

Error message:

__________________ TestScalarPEP3118.test_scalar_match_array ___________________
self = <numpy.core.tests.test_scalarbuffer.TestScalarPEP3118 object at 0xac6244d0>
    def test_scalar_match_array(self):
        for scalar, _ in scalars_and_codes:
            x = scalar()
            a = np.array([], dtype=np.dtype(scalar))
            mv_x = memoryview(x)
            mv_a = memoryview(a)
>           assert_equal(mv_x.format, mv_a.format)
E           AssertionError: 
E           Items are not equal:
E            ACTUAL: 'Zg'
E            DESIRED: '^Zg'
_          = 'Zg'
a          = array([], dtype=complex128)
mv_a       = <memory at 0xada02b28>
mv_x       = <memory at 0xadb85b70>
scalar     = <class 'numpy.complex128'>
self       = <numpy.core.tests.test_scalarbuffer.TestScalarPEP3118 object at 0xac6244d0>
x          = 0j

Numpy/Python version information:

NumPy 1.15.1, Python 3.7

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions