File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -330,7 +330,7 @@ def test_force_index_at_least_one(self):
330
330
331
331
def test_force_index_invalid_for (self ):
332
332
with pytest .raises (ValueError ) as excinfo :
333
- Author .objects .force_index ("a" , for_ = "INVALID" )
333
+ Author .objects .force_index ("a" , for_ = "INVALID" ) # type: ignore [arg-type]
334
334
assert "for_ must be one of" in str (excinfo .value )
335
335
336
336
def test_index_hint_force_order_by (self ):
@@ -527,7 +527,7 @@ def test_objects_pk_range_reversed(self):
527
527
528
528
def test_objects_pk_range_bad (self ):
529
529
with pytest .raises (ValueError ) as excinfo :
530
- list (Author .objects .iter_smart (pk_range = "My Bad Value" ))
530
+ list (Author .objects .iter_smart (pk_range = "My Bad Value" )) # type: ignore [arg-type]
531
531
assert "Unrecognized value for pk_range" in str (excinfo .value )
532
532
533
533
def test_pk_range_race_condition (self ):
You can’t perform that action at this time.
0 commit comments