mirror of
https://github.com/python/cpython.git
synced 2025-10-22 22:53:06 +00:00
gh-91896: Revert some very noisy DeprecationWarnings for ByteString
(#104424)
This commit is contained in:
parent
1be80ed107
commit
c527eb1c2a
7 changed files with 19 additions and 79 deletions
|
@ -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>'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue