From ead1505919a7f889e97b511a4e4fa7838bbc47b6 Mon Sep 17 00:00:00 2001 From: Takeshi KOMIYA Date: Fri, 5 Apr 2019 01:09:38 +0900 Subject: [PATCH] Fix RemovedInSphinx30Warning is marked as pending --- CHANGES | 1 + sphinx/deprecation.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index ef568431a..d4e1c2abe 100644 --- a/CHANGES +++ b/CHANGES @@ -17,6 +17,7 @@ Bugs fixed ---------- * LaTeX: some system labels are not translated +* RemovedInSphinx30Warning is marked as pending * deprecation warnings are not emitted - sphinx.application.CONFIG_FILENAME diff --git a/sphinx/deprecation.py b/sphinx/deprecation.py index 6cdd22ec1..40db9a257 100644 --- a/sphinx/deprecation.py +++ b/sphinx/deprecation.py @@ -17,7 +17,7 @@ if False: from typing import Any, Dict, Type # NOQA -class RemovedInSphinx30Warning(PendingDeprecationWarning): +class RemovedInSphinx30Warning(DeprecationWarning): pass