Skip to content

types compare as not-equal (e.g. np.int32 != np.int32) #14667

Closed
@jbrockmendel

Description

@jbrockmendel

From https://dev.azure.com/pandas-dev/pandas/_build/results?buildId=18674

>           assert res_type == ex_type
E           AssertionError: assert <class 'numpy.int32'> == <class 'numpy.int32'>

I've also seen this for assert np.uint64 == np.uint64 failing. Is this behavior intentional?

Metadata

Metadata

Assignees

No one assigned

    Labels

    33 - QuestionQuestion about NumPy usage or development

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions