Skip to content

Commit 1b638bd

Browse files
committed
replace zip with cleaner code
1 parent 876208d commit 1b638bd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pandas/conftest.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1876,9 +1876,9 @@ def any_numeric_dtype(request):
18761876
("period", [Period(2013), pd.NaT, Period(2018)]),
18771877
("interval", [Interval(0, 1), np.nan, Interval(0, 2)]),
18781878
]
1879-
ids, _ = zip(
1880-
*_any_skipna_inferred_dtype, strict=False
1881-
) # use inferred type as fixture-id
1879+
ids = [
1880+
pair[0] for pair in _any_skipna_inferred_dtype
1881+
] # use inferred type as fixture-id
18821882

18831883

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

0 commit comments

Comments
 (0)