Skip to content

Bug in integerNA comparision test #22096

Closed
@TomAugspurger

Description

@TomAugspurger

# array
result = op(s, other)
expected = pd.Series(op(data._data, other))

says that we're testing the array op, but s is a Series, not an array. Should that be result = pd.Series(op(data, other))?

Series is tested later:

# series
s = pd.Series(data)
result = op(s, other)
expected = pd.Series(data._data)
expected = op(expected, other)
AFAICT.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BlockerBlocking issue or pull request for an upcoming releaseDtype ConversionsUnexpected or buggy dtype conversionsExtensionArrayExtending pandas with custom dtypes or arrays.Testingpandas testing functions or related to the test suite

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions