@@ -689,7 +689,9 @@ 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 (
693+ zip (["foo" , "bar" , "baz" ], [1 , 2 , 3 ], strict = True )
694+ ),
693695 "mi-with-dt64tz-level" : _create_mi_with_dt64tz_level (),
694696 "multi" : _create_multiindex (),
695697 "repeats" : Index ([0 , 0 , 1 , 1 , 2 , 2 ]),
@@ -1874,7 +1876,9 @@ def any_numeric_dtype(request):
18741876 ("period" , [Period (2013 ), pd .NaT , Period (2018 )]),
18751877 ("interval" , [Interval (0 , 1 ), np .nan , Interval (0 , 2 )]),
18761878]
1877- ids , _ = zip (* _any_skipna_inferred_dtype ) # 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
18781882
18791883
18801884@pytest .fixture (params = _any_skipna_inferred_dtype , ids = ids )
0 commit comments