File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -482,7 +482,7 @@ class Meta:
482
482
@with_local_registry
483
483
def test_django_objecttype_neither_fields_nor_exclude ():
484
484
with pytest .warns (
485
- PendingDeprecationWarning ,
485
+ DeprecationWarning ,
486
486
match = r"Creating a DjangoObjectType without either the `fields` "
487
487
"or the `exclude` option is deprecated." ,
488
488
):
Original file line number Diff line number Diff line change @@ -226,7 +226,7 @@ def __init_subclass_with_meta__(
226
226
"or the `exclude` option is deprecated. Add an explicit `fields "
227
227
"= '__all__'` option on DjangoObjectType {class_name} to use all "
228
228
"fields" .format (class_name = cls .__name__ ,),
229
- PendingDeprecationWarning ,
229
+ DeprecationWarning ,
230
230
stacklevel = 2 ,
231
231
)
232
232
You can’t perform that action at this time.
0 commit comments