diff --git a/rest_framework-stubs/__init__.pyi b/rest_framework-stubs/__init__.pyi index 72485aced..6512ad30e 100644 --- a/rest_framework-stubs/__init__.pyi +++ b/rest_framework-stubs/__init__.pyi @@ -9,4 +9,5 @@ HTTP_HEADER_ENCODING: str ISO_8601: str default_app_config: str -class RemovedInDRF315Warning(PendingDeprecationWarning): ... +class RemovedInDRF315Warning(DeprecationWarning): ... +class RemovedInDRF317Warning(PendingDeprecationWarning): ... diff --git a/scripts/stubtest/allowlist_todo.txt b/scripts/stubtest/allowlist_todo.txt index e807c6039..3d047569e 100644 --- a/scripts/stubtest/allowlist_todo.txt +++ b/scripts/stubtest/allowlist_todo.txt @@ -137,7 +137,6 @@ rest_framework.views.AsView rest_framework.views.GenericView # Added in 3.15: -rest_framework.RemovedInDRF317Warning rest_framework.authtoken.migrations.0004_alter_tokenproxy_options rest_framework.compat.distinct rest_framework.fields.DecimalField.__init__