From 270933c1a2afa0aa60409946bb7319d85fd60059 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Fri, 10 Nov 2017 23:19:05 -0500 Subject: Use a different warning class so users get warnings (#4014) * Use a different warning class so users get warnings * fixed tests * do our own warning class * typo * flake8 --- docs/api-stability.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/api-stability.rst b/docs/api-stability.rst index 7ba1d426..2bb53841 100644 --- a/docs/api-stability.rst +++ b/docs/api-stability.rst @@ -42,9 +42,9 @@ entirely. In that case, here's how the process will work: * In ``cryptography X.Y`` the feature exists. * In ``cryptography X.Y+1`` using that feature will emit a - ``PendingDeprecationWarning``. + ``UserWarning``. * In ``cryptography X.Y+2`` using that feature will emit a - ``DeprecationWarning``. + ``UserWarning``. * In ``cryptography X.Y+3`` the feature will be removed or changed. In short, code that runs without warnings will always continue to work for a -- cgit v1.2.3