diff --git a/pandas/tests/dtypes/test_inference.py b/pandas/tests/dtypes/test_inference.py index 362b6d09a23a6..5cea1276f7f4b 100644 --- a/pandas/tests/dtypes/test_inference.py +++ b/pandas/tests/dtypes/test_inference.py @@ -188,10 +188,10 @@ def shape(self): (np.nan, False, "NaN"), (None, False, "None"), ] -objs, expected, ids = zip(*ll_params) +objs, expected, ids = zip(*ll_params, strict=True) -@pytest.fixture(params=zip(objs, expected), ids=ids) +@pytest.fixture(params=zip(objs, expected, strict=True), ids=ids) def maybe_list_like(request): return request.param