summaryrefslogtreecommitdiffstats
path: root/Doc/library/collections.abc.rst
diff options
context:
space:
mode:
authorAlex Waygood <Alex.Waygood@Gmail.com>2023-05-13 08:55:35 (GMT)
committerGitHub <noreply@github.com>2023-05-13 08:55:35 (GMT)
commitc527eb1c2a473df01c19195b378f780e9180fd1c (patch)
tree6a633c3d205d07a496b85020b8ac344d8e97cee2 /Doc/library/collections.abc.rst
parent1be80ed107deb15b926f2794b8e6a7a527b8b84c (diff)
downloadcpython-c527eb1c2a473df01c19195b378f780e9180fd1c.zip
cpython-c527eb1c2a473df01c19195b378f780e9180fd1c.tar.gz
cpython-c527eb1c2a473df01c19195b378f780e9180fd1c.tar.bz2
gh-91896: Revert some very noisy DeprecationWarnings for `ByteString` (#104424)
Diffstat (limited to 'Doc/library/collections.abc.rst')
-rw-r--r--Doc/library/collections.abc.rst5
1 files changed, 1 insertions, 4 deletions
diff --git a/Doc/library/collections.abc.rst b/Doc/library/collections.abc.rst
index 158f485..43a3286 100644
--- a/Doc/library/collections.abc.rst
+++ b/Doc/library/collections.abc.rst
@@ -14,10 +14,7 @@
.. testsetup:: *
- import warnings
- # Ignore warning when ByteString is imported
- with warnings.catch_warnings(action='ignore', category=DeprecationWarning):
- from collections.abc import *
+ from collections.abc import *
import itertools
__name__ = '<doctest>'