@@ -188,8 +188,8 @@ def test_comparison_with_unknown_scalars(self):
188
188
def test_comparison_of_ordered_categorical_with_missing_values (self ):
189
189
# https://github.com/pandas-dev/pandas/issues/26504
190
190
# BUG: fix ordered categorical comparison with missing values (#26504 )
191
- # and following comparisons with scalars in categories with missing values
192
- # should be evaluated as False
191
+ # and following comparisons with scalars in categories with missing
192
+ # values should be evaluated as False
193
193
194
194
cat = Categorical ([1 , 2 , 3 , None ], categories = [1 , 2 , 3 ], ordered = True )
195
195
@@ -198,8 +198,7 @@ def test_comparison_of_ordered_categorical_with_missing_values(self):
198
198
199
199
@pytest .mark .parametrize ('data,reverse,base' , [
200
200
(list ("abc" ), list ("cba" ), list ("bbb" )),
201
- ([1 , 2 , 3 ], [3 , 2 , 1 ], [2 , 2 , 2 ])]
202
- )
201
+ ([1 , 2 , 3 ], [3 , 2 , 1 ], [2 , 2 , 2 ])])
203
202
def test_comparisons (self , data , reverse , base ):
204
203
cat_rev = Series (
205
204
Categorical (data , categories = reverse , ordered = True ))
0 commit comments