@@ -485,17 +485,17 @@ def test_loc_and_at_with_categorical_index(self):
485
485
[1.5 , 2.5 , 3.5 ],
486
486
[- 1.5 , - 2.5 , - 3.5 ],
487
487
# numpy int/uint
488
- * [ np .array ([1 , 2 , 3 ], dtype = dtype ) for dtype in tm .ALL_INT_DTYPES ] ,
488
+ * ( np .array ([1 , 2 , 3 ], dtype = dtype ) for dtype in tm .ALL_INT_DTYPES ) ,
489
489
# numpy floats
490
- * [ np .array ([1.5 , 2.5 , 3.5 ], dtype = dtyp ) for dtyp in tm .FLOAT_DTYPES ] ,
490
+ * ( np .array ([1.5 , 2.5 , 3.5 ], dtype = dtyp ) for dtyp in tm .FLOAT_DTYPES ) ,
491
491
# numpy object
492
492
np .array ([1 , "b" , 3.5 ], dtype = object ),
493
493
# pandas scalars
494
494
[Interval (1 , 4 ), Interval (4 , 6 ), Interval (6 , 9 )],
495
495
[Timestamp (2019 , 1 , 1 ), Timestamp (2019 , 2 , 1 ), Timestamp (2019 , 3 , 1 )],
496
496
[Timedelta (1 , "d" ), Timedelta (2 , "d" ), Timedelta (3 , "D" )],
497
497
# pandas Integer arrays
498
- * [ pd .array ([1 , 2 , 3 ], dtype = dtype ) for dtype in tm .ALL_EA_INT_DTYPES ] ,
498
+ * ( pd .array ([1 , 2 , 3 ], dtype = dtype ) for dtype in tm .ALL_EA_INT_DTYPES ) ,
499
499
# other pandas arrays
500
500
pd .IntervalIndex .from_breaks ([1 , 4 , 6 , 9 ]).array ,
501
501
pd .date_range ("2019-01-01" , periods = 3 ).array ,
0 commit comments