Skip to content

Commit a5c6dcf

Browse files
committed
Enforce ruff rule b905 on contest.py
1 parent 1863adb commit a5c6dcf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,7 @@ def _create_mi_with_dt64tz_level():
689689
"categorical": CategoricalIndex(list("abcd") * 2),
690690
"interval": IntervalIndex.from_breaks(np.linspace(0, 100, num=11)),
691691
"empty": Index([]),
692-
"tuples": MultiIndex.from_tuples(zip(["foo", "bar", "baz"], [1, 2, 3])),
692+
"tuples": MultiIndex.from_tuples(zip(["foo", "bar", "baz"], [1, 2, 3], strict=True)),
693693
"mi-with-dt64tz-level": _create_mi_with_dt64tz_level(),
694694
"multi": _create_multiindex(),
695695
"repeats": Index([0, 0, 1, 1, 2, 2]),
@@ -1874,7 +1874,7 @@ def any_numeric_dtype(request):
18741874
("period", [Period(2013), pd.NaT, Period(2018)]),
18751875
("interval", [Interval(0, 1), np.nan, Interval(0, 2)]),
18761876
]
1877-
ids, _ = zip(*_any_skipna_inferred_dtype) # use inferred type as fixture-id
1877+
ids, _ = zip(*_any_skipna_inferred_dtype, strict=False) # use inferred type as fixture-id
18781878

18791879

18801880
@pytest.fixture(params=_any_skipna_inferred_dtype, ids=ids)

0 commit comments

Comments
 (0)