Skip to content

TST: test_setitem_integer_with_missing_raises contains duplicate parametrization #56727

Open
@mroeschke

Description

@mroeschke
Member

(pd.array([0, 1, 2, pd.NA], dtype="Int64"), False),
(pd.array([0, 1, 2, pd.NA], dtype="Int64"), False),
],
ids=["list-False", "list-True", "integer-array-False", "integer-array-True"],
)
def test_setitem_integer_with_missing_raises(self, data, idx, box_in_series):

One of these parametrizations should probably be (pd.array([0, 1, 2, pd.NA], dtype="Int64"), True), but that fails several tests that inherit this test. The task is to investigate whether the failure is expected or OK to xfail

Activity

added
Testingpandas testing functions or related to the test suite
ExtensionArrayExtending pandas with custom dtypes or arrays.
on Jan 4, 2024
pmhatre1

pmhatre1 commented on Jan 6, 2024

@pmhatre1
Contributor

pytest pandas/tests/extension/base/setitem.py I was trying this command to debug this but no tests were run. Any command to run it in command line?

lopof

lopof commented on Jan 15, 2024

@lopof
Contributor

take

pelagiavlas

pelagiavlas commented on May 7, 2025

@pelagiavlas

take

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
TST: test_setitem_integer_with_missing_raises contains duplicate parametrization · Issue #56727 · pandas-dev/pandas