Remove obsolete warning filter

This commit is contained in:
Adam Turner 2023-12-28 07:34:52 +00:00
parent 9c3b50b31c
commit bc74a6223c

View File

@ -13,9 +13,6 @@ from .deprecation import RemovedInNextVersionWarning
# Users can avoid this by using environment variable: PYTHONWARNINGS=
if 'PYTHONWARNINGS' not in os.environ:
warnings.filterwarnings('default', category=RemovedInNextVersionWarning)
# docutils.io using mode='rU' for open
warnings.filterwarnings('ignore', "'U' mode is deprecated",
DeprecationWarning, module='docutils.io')
warnings.filterwarnings('ignore', 'The frontend.Option class .*',
DeprecationWarning, module='docutils.frontend')